feat(core): Refactor data table update row to use filters (no-changelog) (#19092)

This commit is contained in:
Daria
2025-09-04 18:25:29 +03:00
committed by GitHub
parent 2f2672c551
commit ed6f60f52e
18 changed files with 1421 additions and 233 deletions

View File

@@ -45,7 +45,10 @@ export async function execute(
for (const match of matches) {
const updatedRows = await dataStoreProxy.updateRows({
data: row,
filter: { id: match.json.id },
filter: {
type: 'and',
filters: [{ columnName: 'id', condition: 'eq', value: match.json.id }],
},
});
if (updatedRows.length !== 1) {
throw new NodeOperationError(this.getNode(), 'invariant broken');