Type parameters
Hierarchy
- ApplicationBatchUpdateBuilder
Methods
set
-
The method allows setting rules for updating fields of app items in a collection.
Type parameters
-
K: keyof UpdatableItem<T>
Parameters
-
f: K
Name of the app item field that is being updated.
-
v: UpdateClosure<UpdatableItem<TFull>, RemoveIndex<T>[K]>
Value of the updated field.
const rows = await Application. batch() .update() .set('str0', _ => 'test') .set('str1', f => f.str) .set('str2', (f, op) => op.concat(f.str0, '+', f.str1)) . all();
Returns ApplicationBatchUpdater<TFull, Omit<RemoveIndex<T>, K>, P>
-
Configuration object for batch update of app items
ApplicationBatchUpdateBuilder allows you to do basic configuration of batch update: set updated fields.