Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/memos/graph_dbs/polardb.py
Original file line number Diff line number Diff line change
Expand Up @@ -4056,7 +4056,7 @@ def _build_filter_conditions_cypher(
if filter:

def escape_cypher_string(value: str) -> str:
return value.replace("'", "''")
return value.replace("'", "\\'")

def build_cypher_filter_condition(condition_dict: dict) -> str:
"""Build a Cypher WHERE condition for a single filter item."""
Expand Down