bson_iter_dbpointer() — libbson 1.6.3

- libbson 1.6.3 »
- API Reference »
- bson_iter_t

# bson_iter_dbpointer()

## Synopsis

    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.

## Description

Fetches the contents of a BSON_TYPE_DBPOINTER element.

Created using Sphinx 1.5.3, based on Sphinx Readable Theme.