Add this operation to the _AsyncBulk/_Bulk instance `bulkobj`.
(self, bulkobj: _AgnosticBulk)
| 688 | super().__init__(filter, update, upsert, collation, array_filters, hint, namespace, None) |
| 689 | |
| 690 | def _add_to_bulk(self, bulkobj: _AgnosticBulk) -> None: |
| 691 | """Add this operation to the _AsyncBulk/_Bulk instance `bulkobj`.""" |
| 692 | bulkobj.add_update( |
| 693 | self._filter, |
| 694 | self._doc, |
| 695 | True, |
| 696 | self._upsert, |
| 697 | collation=validate_collation_or_none(self._collation), |
| 698 | array_filters=self._array_filters, |
| 699 | hint=self._hint, |
| 700 | ) |
| 701 | |
| 702 | def _add_to_client_bulk(self, bulkobj: _AgnosticClientBulk) -> None: |
| 703 | """Add this operation to the _AsyncClientBulk/_ClientBulk instance `bulkobj`.""" |
nothing calls this directly
no test coverage detected