Type parameters
Hierarchy
-
ApplicationBatchSaveBuilder<T, P>
- ApplicationBatchSaver
Methods
all
-
The method runs a batch save.
The app items defined by the ApplicationBatchSaveBuilder.items method are saved. The maximum number of items is 10000.
await Application.batch().save().items((function*(){ for (var i = 0; i < 100; i++) { yield Application.create(); } })()).all();
Returns Promise<void>
items
-
The method allows defining the saved items.
Maximum 10000 items are allowed.
Parameters
-
items: Iterable<ApplicationItem<T, P>>
Returns ApplicationBatchSaver<T, P>
-
notify
-
The method sets notifications for when app items are saved.
Parameters
-
enabled: boolean
Returns this
-
Object of saving app items
ApplicationBatchSaver allows you to do basic configuration of batch saving: