Added changeset, updated documentation and tests, changed test condition
This commit is contained in:
@@ -44,7 +44,8 @@ def query(_doc_cls=None, _field_operation=False, **query):
|
||||
if len(parts) > 1 and parts[-1] in MATCH_OPERATORS:
|
||||
op = parts.pop()
|
||||
|
||||
if len(parts) > 1 and not parts[-1]:
|
||||
#if user escape field name by __
|
||||
if len(parts) > 1 and parts[-1]=="":
|
||||
parts.pop()
|
||||
|
||||
negate = False
|
||||
|
||||
Reference in New Issue
Block a user