-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Right now we support both at the same time:
# Raw query
await Movie.query({"name": "X"}).first()
# Query builder
await Movie.query(Movie.name == "X").first()
This leas to complexity handling both in the same method. I'm thinking maybe adding a .raw()
method which accepts the query and doesn't do any validation/query building and sends it directly to MongoDB.
calvo-jp
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request