Skip to content

Commit 111b78c

Browse files
committed
Clean up.
1 parent 0eae854 commit 111b78c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

django_mongodb_backend/fields/array.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,6 @@ def as_mql_expr(self, compiler, connection):
268268
def as_mql_path(self, compiler, connection):
269269
lhs_mql = process_lhs(self, compiler, connection, as_path=True)
270270
value = process_rhs(self, compiler, connection, as_path=True)
271-
if value is None:
272-
return False
273271
return {lhs_mql: {"$all": value}}
274272

275273

0 commit comments

Comments
 (0)