batch method

Batch batch ()

Creates a batch, used for performing multiple operation in a single atomic operation.

a batch can be commited using Batch.commit

If the batch was created in a transaction, it will be commited when the transaction is done

Implementation

Batch batch();