Skip to content

support db_alias #211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2023
Merged

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