mongoengine connection and multiple databases
问题 I have 2 databases I want to query from, but I only get results from one. I'm using mongoengine with python and graphene (it's my first time). I've exhausted my search and I don't understand how I can resolve this issue. Here is my code: import graphene from mongoengine import Document, connect from mongoengine.context_managers import switch_collection from mongoengine.fields import ( StringField, UUIDField, IntField, FloatField, BooleanField, ) from graphene_mongo import