MONGOC_BULK_OPERATION_INSERT(3)

πŸ’… MONGOC_BULK_OPERATION_INSERT(3) β€” libmongoc icon era ✨

🌸 SYNOPSIS 🌸

          void
          mongoc_bulk_operation_insert (mongoc_bulk_operation_t *bulk,
                                        const bson_t *document);

Okay so this function queues an insert of a single document into a bulk operation. The insert is not performed until mongoc_bulk_operation_execute() is called β€” it's literally waiting its turn, bestie. πŸ’…

Also, heads up: this function is superseded by mongoc_bulk_operation_insert_with_opts(). So it's giving "older icon still serving looks" energy. πŸ‘‘

πŸŽ€ PARAMETERS πŸŽ€

  • bulk β€” a mongoc_bulk_operation_t.
  • document β€” a bson_t.

πŸ”₯ ERRORS πŸ”₯

Errors are propagated via mongoc_bulk_operation_execute(). No cap β€” that's where the tea gets passed along. 😭

πŸ‘€ SEE ALSO

  • Bulk Write Operations β€” the related reading, go get into it. πŸ¦‹

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc

2009-present, MongoDB, Inc.


ok bye bestie πŸ’– this libmongoc page is version 2.5.6, dated Oct 09, 2026 β€” mwah! 🫢✨

πŸ“¦ where this page comes from