Merge pull request #215 from punit-naik/master

`insert-batch` fn docfix
This commit is contained in:
Michael Klishin 2022-06-26 22:26:46 +04:00 committed by GitHub
commit 32407c92f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,7 +109,7 @@
(defn ^WriteResult insert-batch
"Saves documents do collection. You can optionally specify WriteConcern as a third argument."
"Saves documents to collection. You can optionally specify WriteConcern as a third argument."
([^DB db ^String coll ^List documents]
(.insert (.getCollection db (name coll))
^List (to-db-object documents)