write abstract method

void write(
  1. BatchUpdates updates, {
  2. bool ensured = false,
})

Apply the specified updates to the database.

If ensured == true, the write will be flushed from the operating system buffer cache before the write is considered complete. If this flag is true, writes will be slower. If this flag is false, and the machine crashes, some recent writes may be lost.

Implementation

void write(BatchUpdates updates, {bool ensured = false});