Scroll to navigation

MONGOC_CURSOR_GET_HOST(3) libmongoc MONGOC_CURSOR_GET_HOST(3)

SYNOPSIS

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


PARAMETERS

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

DESCRIPTION

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

AUTHOR

MongoDB, Inc

COPYRIGHT

2009-present, MongoDB, Inc.

November 13, 2024 1.29.0