feat(Data Table Node): Add Update, Upsert operations (no-changelog) (#18820)

This commit is contained in:
Charlie Kolb
2025-08-28 13:20:29 +02:00
committed by GitHub
parent 0347c32cd5
commit 1b743ae251
12 changed files with 241 additions and 59 deletions

View File

@@ -57,6 +57,11 @@ export type ListDataStoreRowsOptions = {
skip?: number;
};
export type UpdateDataStoreRowsOptions = {
filter: Record<string, DataStoreColumnJsType>;
data: DataStoreRow;
};
export type UpsertDataStoreRowsOptions = {
rows: DataStoreRows;
matchFields: string[];
@@ -113,6 +118,8 @@ export interface IDataStoreProjectService {
insertRows(rows: DataStoreRows): Promise<DataStoreRowReturn[]>;
updateRows(options: UpdateDataStoreRowsOptions): Promise<DataStoreRowReturn[]>;
upsertRows(options: UpsertDataStoreRowsOptions): Promise<DataStoreRowReturn[]>;
deleteRows(ids: number[]): Promise<boolean>;