mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
feat(core): Use filters for data table upsert (no-changelog) (#19292)
This commit is contained in:
@@ -57,14 +57,14 @@ export type ListDataStoreRowsOptions = {
|
||||
skip?: number;
|
||||
};
|
||||
|
||||
export type UpdateDataStoreRowsOptions = {
|
||||
export type UpdateDataStoreRowOptions = {
|
||||
filter: DataTableFilter;
|
||||
data: DataStoreRow;
|
||||
};
|
||||
|
||||
export type UpsertDataStoreRowsOptions = {
|
||||
rows: DataStoreRows;
|
||||
matchFields: string[];
|
||||
export type UpsertDataStoreRowOptions = {
|
||||
filter: DataTableFilter;
|
||||
data: DataStoreRow;
|
||||
};
|
||||
|
||||
export type MoveDataStoreColumnOptions = {
|
||||
@@ -118,9 +118,9 @@ export interface IDataStoreProjectService {
|
||||
|
||||
insertRows(rows: DataStoreRows): Promise<DataStoreRowReturn[]>;
|
||||
|
||||
updateRows(options: UpdateDataStoreRowsOptions): Promise<DataStoreRowReturn[]>;
|
||||
updateRow(options: UpdateDataStoreRowOptions): Promise<DataStoreRowReturn[]>;
|
||||
|
||||
upsertRows(options: UpsertDataStoreRowsOptions): Promise<DataStoreRowReturn[]>;
|
||||
upsertRow(options: UpsertDataStoreRowOptions): Promise<DataStoreRowReturn[]>;
|
||||
|
||||
deleteRows(ids: number[]): Promise<boolean>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user