WriteConcern/SAFE was renamed (and is the default, so not very demonstrative)

This commit is contained in:
Michael Klishin 2014-05-13 05:06:23 +04:00
parent da2effbfc9
commit 6206308fa8

View file

@ -54,7 +54,7 @@
;; returns write result
(monger.collection/insert db \"people\" {:name \"Joe\", :age 30})
(monger.collection/insert db \"people\" {:name \"Joe\", :age 30, WriteConcern/SAFE})
(monger.collection/insert db \"people\" {:name \"Joe\", :age 30, WriteConcern/REPLICAS_SAFE})
"
([^DB db ^String coll document]
(.insert (.getCollection db (name coll))