DOKK / manpages / debian 10 / libmongoc-doc / mongoc_cursor_get_host.3.en
MONGOC_CURSOR_GET_HOST(3) MongoDB C Driver MONGOC_CURSOR_GET_HOST(3)

mongoc_cursor_get_host - mongoc_cursor_get_host()

void
mongoc_cursor_get_host (mongoc_cursor_t *cursor, mongoc_host_list_t *host);


  • cursor: A mongoc_cursor_t.
  • host: A mongoc_host_list_t.

Fetches the MongoDB host that the cursor is communicating with in the host out parameter.

MongoDB, Inc

2017-present, MongoDB, Inc

February 23, 2019 1.14.0