Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Deprecated since version 1.18.0: Use mongoc_server_description_hello_response() instead.

Author

       MongoDB, Inc

Description

       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.

Parameters

description: A mongoc_server_description_t.

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.

Synopsis

          const bson_t *
          mongoc_server_description_ismaster (
             const mongoc_server_description_t *description);

Warning:

          Deprecated since version 1.18.0: Use mongoc_server_description_hello_response() instead.

See Also