DOKK / manpages / debian 12 / libbson-doc / bson_iter_dbpointer.3.en
BSON_ITER_DBPOINTER(3) libbson BSON_ITER_DBPOINTER(3)

bson_iter_dbpointer - bson_iter_dbpointer()

void
bson_iter_dbpointer (const bson_iter_t *iter,

uint32_t *collection_len,
const char **collection,
const bson_oid_t **oid);


  • iter: A bson_iter_t.
  • collection_len: A location for the length of the collection name.
  • collection: A location for the collection name..
  • oid: A location for a bson_oid_t.

Fetches the contents of a BSON_TYPE_DBPOINTER element.

WARNING:

The BSON_TYPE_DBPOINTER field type is deprecated by the BSON spec and should not be used in new code.


MongoDB, Inc

2017-present, MongoDB, Inc

October 20, 2022 1.23.1