Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MONGOC_INSERT_FLAGS_T(3)	   libmongoc	      MONGOC_INSERT_FLAGS_T(3)

Flags for insert operations

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. They may be bit-
       wise or'd together. They	may modify how an insert happens on  the  Mon-
       goDB server.

FLAG VALUES
	     +---------------------------+----------------------------+
	     | MONGOC_INSERT_NONE	 | Specify no insert flags.   |
	     +---------------------------+----------------------------+
	     | MONGOC_INSERT_CON-	 | Continue  inserting	docu- |
	     | TINUE_ON_ERROR		 | ments from  the  insertion |
	     |				 | set	even  if  one  insert |
	     |				 | fails.		      |
	     +---------------------------+----------------------------+
	     | MONGOC_INSERT_NO_VALIDATE | Do not validate  insertion |
	     |				 | documents  before perform- |
	     |				 | ing an insert.  Validation |
	     |				 | can	be expensive, so this |
	     |				 | can save some time if  you |
	     |				 | know	 your  documents  are |
	     |				 | already valid.	      |
	     +---------------------------+----------------------------+

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 2025	      MONGOC_INSERT_FLAGS_T(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_insert_flags_t&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help