Replies: 1 comment
-
Sorry, never mind. Native pymongo queries are supported out of the box. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to send a Mongo query directly to find() or does it have to be transformed into the Bunnet syntax?
Eg.
It's not practical for me to send a query of the type:
Otherwise is there a programmatic way to convert from one to the other? I can supply a class type object but I'm not sure how to populate the attributes. My code doesn't use the concrete class types but rather instantiates them and objects dynamically from string type specs. The other methods work but can't figure out how to generate the search criteria from dicts, so the better alternative would be if there is just a way to send the dicts to the underlying PyMongo directly.
Beta Was this translation helpful? Give feedback.
All reactions