Add a delete many operation to the bulk operation
()
| 737 | |
| 738 | /** Add a delete many operation to the bulk operation */ |
| 739 | delete(): BulkOperationBase { |
| 740 | const currentOp = buildCurrentOp(this.bulkOperation); |
| 741 | return this.bulkOperation.addToOperationsList( |
| 742 | BatchType.DELETE, |
| 743 | makeDeleteStatement(currentOp.selector, { ...currentOp, limit: 0 }) |
| 744 | ); |
| 745 | } |
| 746 | |
| 747 | /** Upsert modifier for update bulk operation, noting that this operation is an upsert. */ |
| 748 | upsert(): this { |
nothing calls this directly
no test coverage detected