bson_iter_dbpointer(3)

bson_iter_dbpointer3

Usage

void
bson_iter_dbpointer (const bson_iter_t *iter,
                     uint32_t *collection_len,
                     const char **collection,
                     const bson_oid_t **oid);

Parameters

•

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.

Overview

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.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.