Skip to content

Commit

Permalink
fix: pgvector and_subfilter
Browse files Browse the repository at this point in the history
  • Loading branch information
SebanDan committed Sep 11, 2024
1 parent 868caed commit 5e9b94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/clients/pgvector/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def build_condition(
if or_subfilters is not None and len(or_subfilters) > 0:
clauses.append(f"( {' OR '.join(or_subfilters)} )")
if and_subfilters is not None and len(and_subfilters) > 0:
clauses.append(f"( {' AND '.join(or_subfilters)} )")
clauses.append(f"( {' AND '.join(and_subfilters)} )")

return " AND ".join(clauses)

Expand Down

0 comments on commit 5e9b94a

Please sign in to comment.