You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what's your actual problem with Mongoengine using _cls in all queries? When querying from a subclass, e.g EventB.objects.first(), _cls is used to filter on that specific "EventB" class so removing it wouldn't make much sense as it would make it return another type of object... You can query the parent class if you don't want _cls
I have many types of events, all events are saved in collection 'event'.
I want to define documents:
type
for querying event of a type_cls
in all queries ?The text was updated successfully, but these errors were encountered: