Skip to content

Commit 1b16ca9

Browse files
authored
fix quote (#670)
1 parent cecdc66 commit 1b16ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/memos/graph_dbs/polardb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4056,7 +4056,7 @@ def _build_filter_conditions_cypher(
40564056
if filter:
40574057

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

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

0 commit comments

Comments
 (0)