Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MONGOC_CHANGE...ERROR_DOCUMENT(3)  libmongoc MONGOC_CHANGE...ERROR_DOCUMENT(3)

SYNOPSIS
	  bool
	  mongoc_change_stream_error_document (mongoc_change_stream_t *stream,
					       bson_error_t *err,
					       const bson_t **reply);

       Checks  if  an  error  has  occurred  when creating or iterating	over a
       change stream.

       Similar to mongoc_cursor_error_document() if  the  error	 has  occurred
       client-side  then  the  reply will be set to an empty BSON document. If
       the error occurred server-side, reply is	set to the server's reply doc-
       ument.

PARAMETERS
        stream: A mongoc_change_stream_t.

        err: An optional location for a bson_error_t or NULL.

        reply:	A location for a bson_t.

RETURNS
       A boolean indicating if there was an error.

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 2025MONGOC_CHANGE...ERROR_DOCUMENT(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_change_stream_error_document&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help