Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumExplorer committed Nov 25, 2024
1 parent 349c03f commit f2ebf10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/rs-drive/src/query/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1813,8 +1813,7 @@ impl<'a> DriveDocumentQuery<'a> {
!(self
.internal_clauses
.equal_clauses
.get(field.name.as_str())
.is_some()
.contains_key(field.name.as_str())
|| (last_clause.is_some() && last_clause.unwrap().field == field.name)
|| (subquery_clause.is_some() && subquery_clause.unwrap().field == field.name))
})
Expand Down

0 comments on commit f2ebf10

Please sign in to comment.