Liking cljdoc? Tell your friends :D
Clojure only.

monger.result

Provides functions that determine if a query (or other database operation)
was successful or not.

Related documentation guides:

* http://clojuremongodb.info/articles/inserting.html
* http://clojuremongodb.info/articles/updating.html
* http://clojuremongodb.info/articles/commands.html
* http://clojuremongodb.info/articles/mapreduce.html
raw docstring

MongoCommandResultcljprotocol

has-error?clj

(has-error? input)

Returns true if command result indicates an error

Returns true if command result indicates an error

ok?clj

(ok? input)

Returns true if command result is a success

Returns true if command result is a success

updated-existing?clj

(updated-existing? input)

Returns true if command result has updatedExisting field set to true

Returns true if command result has `updatedExisting` field set to true
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close