carta
mongoc_collection_destroy(3)

mongoc_collection_destroy3

Parameters

•

collection: A mongoc_collection_t.

Overview

This function shall destroy a mongoc_collection_t and its associated resources. Does nothing if collection is NULL.

WARNING:

Always destroy a mongoc_cursor_t created from a collection before destroying the collection.

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)

Author

MongoDB, Inc

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