1MONGOC_CLIENT_COMMAND_SIMPLE_WITMHoM_nOSgNEoGRDOVBCE_RCC_LIDIDrE(iN3vT)e_rCOMMAND_SIMPLE_WITH_SERVER_ID(3)
2
3
4

NAME

6       mongoc_client_command_simple_with_server_id     -    mongoc_client_com‐
7       mand_simple_with_server_id()
8

SYNOPSIS

10          bool
11          mongoc_client_command_simple_with_server_id (
12             mongoc_client_t *client,
13             const char *db_name,
14             const bson_t *command,
15             const mongoc_read_prefs_t *read_prefs,
16             uint32_t server_id bson_t *reply,
17             bson_error_t *error);
18
19       This function executes a command on a specific server, using the  data‐
20       base and command specification provided.
21
22       This function is not considered a retryable read operation.
23

PARAMETERS

25       · client: A mongoc_client_t.
26
27       · db_name: The name of the database to run the command on.
28
29       · read_prefs: An optional mongoc_read_prefs_t.
30
31       · server_id: An opaque id specifying which server to use.
32
33       · reply:  An  optional  location  for  a  bson_t  which  will store the
34         server's reply.
35
36       · error: An optional location for a bson_error_t or a NULL.
37

RETURNS

39       Returns true if successful. Returns false and sets error if  there  are
40       invalid arguments or a server or network error.
41
42       This  function  does  not check the server response for a write concern
43       error or write concern timeout.
44

AUTHOR

46       MongoDB, Inc
47
49       2017-present, MongoDB, Inc
50
51
52
53
541.15.2                          MNOoNvGO0C6_,CL2I0E1N9T_COMMAND_SIMPLE_WITH_SERVER_ID(3)
Impressum