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

FreeBSD Manual Pages

  
 
  

home | help
BSON_ITER_FIND_DESCENDANT(3)	    libbson	  BSON_ITER_FIND_DESCENDANT(3)

SYNOPSIS
	  bool
	  bson_iter_find_descendant (bson_iter_t *iter,
				     const char	*dotkey,
				     bson_iter_t *descendant);

PARAMETERS
        iter: A bson_iter_t.

        dotkey: A dot-notation	key like "a.b.c.d".

        descendant: A bson_iter_t.

DESCRIPTION
       The  bson_iter_find_descendant()	function shall follow standard MongoDB
       dot notation to recurse into subdocuments. descendant will be  initial-
       ized  and  advanced  to the descendant. If false	is returned, both iter
       and descendant should be	considered invalid.

RETURNS
       true is returned	if the requested key was found.	If not,	false  is  re-
       turned and iter was exhausted and should	now be considered invalid.

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 2025	  BSON_ITER_FIND_DESCENDANT(3)

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

home | help