ivelum/djangoql

Support for "NOT" operator

Opened this issue · 1 comments

Awesome project!

Is there a way to put a "not" in front of a long complex query?

If not, I'd recommend a simple "exclude" parameters in the djangoql() manager method e.g., MyModel.objects.djangoql('mycolumn>True', exclude=True).

Is there a way to put a "not" in front of a long complex query?

no, it's not supported at the moment. However, any query can be rewritten in a way that doesn't require "not".