carta
mongoc_server_description_ismaster(3)

mongoc_server_description_ismaster3

WARNING:

Deprecated since version 1.18.0: Use mongoc_server_description_hello_response() instead.

Parameters

•

description: A mongoc_server_description_t.

Overview

The client or client pool periodically runs a "hello" command on each server, to update its view of the MongoDB deployment. Use mongoc_client_get_server_descriptions() and mongoc_server_description_hello_response() to get the most recent "hello" response.

Returns

A reference to a BSON document, owned by the server description. The document is empty if the driver is not connected to the server.

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.