djongo
djongo copied to clipboard
Avoid unnecessary token skip
After parsing the statement and constructing the 'between operator', there is no need to call statement.skip().
This bug may cause the query ignores the eq filter when both eq and range filters exist. For example
queryset.filter(field_a=xxx).filter(field_b__range=[aaa, bbb])
the field_a=xxx may be ignored