perf(mysql): batch data grid update and delete SQL

This commit is contained in:
zipg authored and GitHub committed 2026-07-20 13:52:06 +08:00
1 parent 8e8cb0f58c
commit 7078c3fe19
3 files changed
+269 -14

No files matched your search

@@ -1126,8 +1126,8 @@ export function useDataGridEditor(options: UseDataGridEditorOptions) {
inserted_rows: snapshot.newRows.length,
updated_rows: snapshot.dirtyRows.size,
deleted_rows: snapshot.deletedRows.size,
statements,
rollback_statements: success ? rollbackStatements : [],
statement_count: statements.length,
rollback_statement_count: success ? rollbackStatements.length : 0,
error: success ? undefined : historyResult?.error,
};
await historyStore.add({