replace_document
Replace the first document matching a filter with an entirely new document, without update operators. Use it for full-document replacement rather than field-level updates.
Instructions
Replace the first document matching the filter with a whole new document (no update operators).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | Yes | ||
| upsert | No | ||
| database | No | ||
| collection | Yes | ||
| connection | No | ||
| replacement | Yes |