MONGOC_INSERT_FLAGS_T(3)
π MONGOC_INSERT_FLAGS_T π
okay bestie, this is the libmongoc (3) page for Flags for insert operations β the little enum crew plus one define that tells an insert how to behave. π
β¨ SYNOPSIS β¨
typedef enum {
MONGOC_INSERT_NONE = 0,
MONGOC_INSERT_CONTINUE_ON_ERROR = 1 << 0,
} mongoc_insert_flags_t;
#define MONGOC_INSERT_NO_VALIDATE (1U << 31)
π¦ DESCRIPTION π¦
These flags correspond to the MongoDB wire protocol. No cap. π
They may be bitwise or'd together β yes, stack 'em with | like the icon you are. They may modify how an insert happens on the MongoDB server. π₯
π FLAG VALUES π
MONGOC_INSERT_NONEβ Specify no insert flags. The "I'm just vibing, no extras" option.= 0.MONGOC_INSERT_CONTINUE_ON_ERRORβ Continue inserting documents from the insertion set even if one insert fails. Like, one bad apple does not have to end the whole group chat.= 1 << 0.MONGOC_INSERT_NO_VALIDATEβ Do not validate insertion documents before performing an insert. Validation can be expensive, so this can save some time if you know your documents are already valid. It's the#defineone:(1U << 31). Use with knowledge, bestie. π
πΈ AUTHOR πΈ
MongoDB, Inc
π«Ά COPYRIGHT π«Ά
2009-present, MongoDB, Inc.
Signing off with the official footer energy: this is libmongoc version 2.5.6, dated Oct 09, 2026, and the page tag is MONGOC_INSERT_FLAGS_T(3). mwah πβ¨
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms