Optional
sync?: booleanIf true
, rocksdb will perform fsync()
before completing operation
It is still asynchronous relative to Node.js
If the operating system crashes, writes may be lost
Prefer to flip this to be true when a transaction batch is written
This will amortize the cost of fsync()
across the entire transaction
Generated using TypeDoc
Put options