From 51baa9925c819f3852e12a9683a482873f255b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=A4=A7=E6=B4=8B?= <714403855@qq.com> Date: Tue, 9 Dec 2025 16:40:27 +0800 Subject: [PATCH] dix delete quota --- src/memos/graph_dbs/polardb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/memos/graph_dbs/polardb.py b/src/memos/graph_dbs/polardb.py index bbf62cc34..551c6d82e 100644 --- a/src/memos/graph_dbs/polardb.py +++ b/src/memos/graph_dbs/polardb.py @@ -4744,7 +4744,7 @@ def delete_node_by_prams( # Then, combine with user_name condition using AND (must match user_name AND one of the data conditions) user_name_where = " OR ".join(user_name_conditions) - ids_where = f"({user_name_where}) AND ({data_conditions})" + ids_where = f"{user_name_where} AND ({data_conditions})" # Use Cypher DELETE query # First count matching nodes to get accurate count