Abort-if-unsuccessful option used by writeMany, putMany and deleteMany.

Hierarchy

Properties

Properties

abortOnFail?: boolean

If set to true, aborts the whole transaction if any of the put or delete operations fails. This is only applicable to failures due to inability to satisfy ifAbsent, ifPresent or matchVersion options for put operation or matchVersion for delete operation, see put and delete. Other failures will result in error.

For writeMany, this option can be overriden by abortOnFail on per-operation basis.

Generated using TypeDoc