1MONGOC_CHANGE_STREAM_ERROR_DOCUMENT(l3i)bmonMgOoNcGOC_CHANGE_STREAM_ERROR_DOCUMENT(3)
2
3
4

NAME

6       mongoc_change_stream_error_document  - mongoc_change_stream_error_docu‐
7       ment()
8

SYNOPSIS

10          bool
11          mongoc_change_stream_error_document (mongoc_change_stream_t *stream,
12                                               bson_error_t *err,
13                                               const bson_t **reply);
14
15       Checks if an error has occurred  when  creating  or  iterating  over  a
16       change stream.
17
18       Similar  to  mongoc_cursor_error_document  if  the  error  has occurred
19       client-side then the reply will be set to an empty  BSON  document.  If
20       the error occurred server-side, reply is set to the server's reply doc‐
21       ument.
22

PARAMETERS

24       · stream: A mongoc_change_stream_t.
25
26       · err: An optional location for a bson_error_t or NULL.
27
28       · reply: A location for a bson_t.
29

RETURNS

31       A boolean indicating if there was an error.
32

AUTHOR

34       MongoDB, Inc
35
37       2017-present, MongoDB, Inc
38
39
40
41
421.17.4                           Feb 04,M2O0N2G1OC_CHANGE_STREAM_ERROR_DOCUMENT(3)
Impressum