Skip to content

Conversation

yunkst
Copy link

@yunkst yunkst commented Mar 21, 2023

if a mongoengine document use db_alias like following

class example(mongoengine.Document):
    name = mongoengine.StringField()
    meta = {
        'db_alias': 'prodManager'
    }

this project will still query data from default connection。

this PR solved the issue #105

@arunsureshkumar arunsureshkumar merged commit fc9dcea into graphql-python:master Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants