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

FreeBSD Manual Pages

  
 
  

home | help
MONGOC_COLLECT...GET_LAST_ERROR(3) libmongocMONGOC_COLLECT...GET_LAST_ERROR(3)

WARNING:
	  Deprecated  since version 1.9.0: To get write	results	from write op-
	  erations, instead use:

	   mongoc_collection_update_one()

	   mongoc_collection_update_many()

	   mongoc_collection_replace_one()

	   mongoc_collection_delete_one()

	   mongoc_collection_delete_many()

	   mongoc_collection_insert_one()

	   mongoc_collection_insert_many()

	   mongoc_bulkwrite_t

	   mongoc_bulk_operation_t

SYNOPSIS
	  const	bson_t *
	  mongoc_collection_get_last_error (const mongoc_collection_t *collection);

PARAMETERS
        collection: A mongoc_collection_t.

DESCRIPTION
       mongoc_collection_get_last_error() returns write	results	from some  op-
       erations:

        mongoc_collection_update()

        mongoc_collection_remove()

        mongoc_collection_delete()

        mongoc_collection_insert_bulk()

        mongoc_collection_insert()

RETURNS
       A  bson_t  that	should not be modified or NULL.	The returned bson_t is
       may be invalidated by the next operation	on collection.

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 202MONGOC_COLLECT...GET_LAST_ERROR(3)

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

home | help