batch
Performs a batch operation on the LevelDB database.
Parameters
operations
A list of batch operations to be performed. Each operation can either be a put or delete action.
sync
Flag indicating whether to perform a synchronous batch operation, that is to wait for all operations to be persisted to disk before returning. Default is false.