(->BulkWriteOptions {:keys [bulk-write-options bypass-document-validation?
ordered?]})
Coerce options map into BulkWriteOptions. See bulk-write
for usage.
Coerce options map into BulkWriteOptions. See `bulk-write` for usage.
(->CountOptions {:keys [count-options hint limit max-time-ms skip]})
Coerce options map into CountOptions. See count-documents
for usage.
Coerce options map into CountOptions. See `count-documents` for usage.
(->CreateCollectionOptions {:keys [create-collection-options capped?
max-documents max-size-bytes]})
Coerce options map into CreateCollectionOptions. See create
usage.
Coerce options map into CreateCollectionOptions. See `create` usage.
(->DeleteOptions {:keys [delete-options]})
Coerce options map into DeleteOptions. See delete-one
and delete-many
for usage.
Coerce options map into DeleteOptions. See `delete-one` and `delete-many` for usage.
(->FindOneAndReplaceOptions {:keys [find-one-and-replace-options upsert?
return-new? sort projection]})
Coerce options map into FindOneAndReplaceOptions. See find-one-and-replace
for usage.
Coerce options map into FindOneAndReplaceOptions. See `find-one-and-replace` for usage.
(->FindOneAndUpdateOptions {:keys [find-one-and-update-options upsert?
return-new? sort projection]})
Coerce options map into FindOneAndUpdateOptions. See find-one-and-update
for usage.
Coerce options map into FindOneAndUpdateOptions. See `find-one-and-update` for usage.
(->IndexOptions {:keys [index-options name sparse? unique?]})
Coerces an options map into an IndexOptions.
See create-index
for usage
Coerces an options map into an IndexOptions. See `create-index` for usage
(->InsertManyOptions {:keys [insert-many-options bypass-document-validation?
ordered?]})
Coerce options map into InsertManyOptions. See insert-many
for usage.
Coerce options map into InsertManyOptions. See `insert-many` for usage.
(->InsertOneOptions {:keys [insert-one-options bypass-document-validation?]})
Coerce options map into InsertOneOptions. See insert-one
for usage.
Coerce options map into InsertOneOptions. See `insert-one` for usage.
(->ReadConcern {:keys [read-concern]})
Coerce rc
into a ReadConcern if not nil. See collection
for usage.
Coerce `rc` into a ReadConcern if not nil. See `collection` for usage.
(->ReadPreference {:keys [read-preference]})
Coerce rp
into a ReadPreference if not nil. See collection
for usage.
Coerce `rp` into a ReadPreference if not nil. See `collection` for usage.
(->RenameCollectionOptions {:keys [rename-collection-options drop-target?]})
Coerce options map into RenameCollectionOptions. See rename
usage.
Coerce options map into RenameCollectionOptions. See `rename` usage.
(->ReplaceOptions {:keys [replace-options upsert? bypass-document-validation?]})
Coerce options map into ReplaceOptions. See replace-one
and replace-many
for usage.
Coerce options map into ReplaceOptions. See `replace-one` and `replace-many` for usage.
(->UpdateOptions {:keys [update-options upsert? bypass-document-validation?]})
Coerce options map into UpdateOptions. See update-one
and update-many
for usage.
Coerce options map into UpdateOptions. See `update-one` and `update-many` for usage.
(->WriteConcern {:keys [write-concern write-concern/w write-concern/w-timeout-ms
write-concern/journal?]})
Coerces write-concern related options to a WriteConcern. See collection
for usage.
Coerces write-concern related options to a WriteConcern. See `collection` for usage.
(from-document input keywordize?)
Converts Mongo Document to Clojure
Converts Mongo Document to Clojure
(document input)
Convert from clojure to Mongo Document
Convert from clojure to Mongo Document
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close