The object allows you to:
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();
The method allows defining the saved items.
Maximum 10000 items are allowed.
The method sets notifications for when app items are saved.
Your review is successfully sent!
Feedback sent successfully
Object of saving app items
The object allows you to:
Type parameters
T: ItemData
P: ItemData
Hierarchy
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