home | help
BSON_ITER_VALUE(3)		     libbson		      BSON_ITER_VALUE(3)

SYNOPSIS
	const bson_value_t *
	bson_iter_value (bson_iter_t *iter);

PARAMETERS
     * iter: A bson_iter_t.

DESCRIPTION
     Fetches the value for the currently observed type as a boxed type. This al-
     lows passing around the value without knowing the type at runtime.

     If the bson_iter_t is further modified, the bson_value_t is invalidated.

RETURNS
     A bson_value_t that should not be modified or freed.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026		      BSON_ITER_VALUE(3)

home | help