mongoc_update_flags_t(3)

mongoc_update_flags_t

Section 3 libmongoc-doc bookworm source

Description

MONGOC_UPDATE_FLAGS_T

NAME

mongoc_update_flags_t - mongoc_update_flags_t

Flags for update operations

SYNOPSIS

typedef enum {
MONGOC_UPDATE_NONE = 0,
MONGOC_UPDATE_UPSERT = 1 << 0,
MONGOC_UPDATE_MULTI_UPDATE = 1 << 1,
} mongoc_update_flags_t;

#define MONGOC_UPDATE_NO_VALIDATE (1U << 31)

DESCRIPTION

These flags correspond to the MongoDB wire protocol. They may be bitwise or'd together. The allow for modifying the way an update is performed in the MongoDB server.

FLAG VALUES

Image grohtml-62201-1.png

AUTHOR

MongoDB, Inc

COPYRIGHT

2017-present, MongoDB, Inc