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

PARAMETERS

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

RETURNS

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

AUTHOR

44       MongoDB, Inc
45
47       2017-present, MongoDB, Inc
48
49
50
51
521.14.0                          MFOeNbGO2C2_,CL2I0E1N9T_COMMAND_SIMPLE_WITH_SERVER_ID(3)
Impressum