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

  
 
  

home | help
BSON_APPEND_ITER(3)		     libbson		     BSON_APPEND_ITER(3)

SYNOPSIS
	bool
	bson_append_iter (bson_t *bson,
			  const char *key,
			  int key_length,
			  const bson_iter_t *iter);

PARAMETERS
     * bson: A bson_t.

     * key: Optional field name. If NULL, uses bson_iter_key(iter).

     * key_length: The length of key or -1 to use strlen().

     * iter: A bson_iter_t located on the position of the element to append.

DESCRIPTION
     Appends the value at the current position of iter to the document.

RETURNS
     Returns true if successful; false if the operation would overflow the maxi-
     mum document size or another invalid state is detected.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026		     BSON_APPEND_ITER(3)

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

home | help