1MONGOC_CLIENT_COMMAND_SIMPLE_WITHM_OSNElGRiOVbCEm_RoC_nLIgIDoE(cN3T)_COMMAND_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,
17             bson_t *reply,
18             bson_error_t *error);
19
20       This function executes a command on a specific server, using the  data‐
21       base and command specification provided.
22
23       This function is not considered a retryable read operation.
24

PARAMETERS

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

RETURNS

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

AUTHOR

47       MongoDB, Inc
48
50       2017-present, MongoDB, Inc
51
52
53
54
551.23.1                          MOOcNtGO2C0_,CL2I0E2N2T_COMMAND_SIMPLE_WITH_SERVER_ID(3)
Impressum