Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content
Ctrl+K

amongoc 0.1.0 documentation

Contents:

  • Tutorials
    • BSON Handling
      • Creation & Destruction
      • Adding Data
      • Reading BSON Data
    • Storing Values in a Type-Erased Box
    • Connecting to a MongoDB Server
    • Writing Data
    • Reading Data
  • How-to Guides
    • How to Handle amongoc_status
    • Communicating with a Server
    • Creating Asynchronous Loops
  • Reference
    • Meta-Reference: Documentation Attributes
    • amongoc API Patterns
    • Configuring, Building, & Using
    • Dynamically Types Boxes
    • Status Codes
    • Emitter API
    • Operation API
    • Asynchronous Utility APIs
    • Dynamic Memory Allocation
    • Client API
    • Database Handle API
    • Collection & Data API
      • Collection Operations
        • Common Parameters
        • Aggregate
        • Count
        • Delete
        • Distinct
        • Drop
        • Find
        • Insert
        • Replace
        • Update
    • Type: amongoc_loop
    • Handler APIs
    • BSON Library
      • BSON Value Types
      • BSON Values
      • BSON Reading
      • BSON Iteration
      • BSON Documents
      • BSON Modifying
    • Strings & String Views
    • Vector Types
    • Time Utilities
    • Terminology
    • amongoc Features
  • Design & Explanation
    • Why Asynchrony?
    • Design Considerations in amongoc
    • Our Asynchrony Model
  • amongoc Developer Documentation
    • Development Guidelines
    • C Object Deletion
    • Nanosenders
    • Couroutines
    • result<T>
    • Query Objects
    • Asio in amongoc
    • TLS Streams
    • Documenting amongoc
    • Declaratively Building BSON Documents
    • Declaratively Parsing BSON Objects
  • Repository
  • Show source
  • Suggest edit
  • Open issue
  • .rst

Replace

Contents

  • amongoc_replace_one()
  • amongoc_replace_params
    • bypass_document_validation
    • collation
    • hint
    • upsert
    • let
    • comment

Replace#

amongoc_emitter amongoc_replace_one(
amongoc_collection *coll,
bson_view filter,
bson_view replacement,
amongoc_replace_params const *[[nullable]] params,
)#

See also

Uses a specific update command to replace a single document in a collection

struct [[zero_initializable]] amongoc_replace_params#
bool bypass_document_validation#
bson_view collation#
bson_value_ref hint#
bool upsert#
bson_view let#
bson_value_ref comment#

See also

Common Parameters

previous

Insert

next

Update

Contents
  • amongoc_replace_one()
  • amongoc_replace_params
    • bypass_document_validation
    • collation
    • hint
    • upsert
    • let
    • comment

By MongoDB

© Copyright 2024, MongoDB.