ApplicationBatchSaveBuilder allows you to do basic configuration of batch saving:

  • set saved items.

Type parameters

Hierarchy

Methods

items

  • The method allows defining the saved items.

    Maximum 10000 items are allowed.

    Parameters

    • items: Iterable<ApplicationItem<T, P>>

      Items.

      Application.batch().save().items([Application.create() , Application.create()]);
      

      or

      Application.batch().save() .items((function*(){
          for (var i = 0; i < 100; i++) { 
              yield  Application.create(); 
          } 
      })()); 
      

    Returns ApplicationBatchSaver<T, P>