(build-clojure-document data-value)
Convert java Bson like object into clojure map or vector
Convert java Bson like object into clojure map or vector
(build-collation collation-map)
Build collation java object aou of clojure map
Build collation java object aou of clojure map
(build-document clj-document & [data-type])
Convert clojure like object into java Bson like object
Convert clojure like object into java Bson like object
(get-collection db collection-name & [document-class])
Get reference to collection from particular database
Get reference to collection from particular database
(mongodb-connect db-uri db-name)
Connect to mongo db
Connect to mongo db
(mongodb-count collection & [entity-filter])
Count records from particular collection matching entity-filter
Count records from particular collection matching entity-filter
(mongodb-create-index collection
fields
index-name
unique
&
[expire-after-seconds])
Create mongo index on particular collection make it unique or not
Create mongo index on particular collection make it unique or not
(mongodb-delete-by-filter collection filter-map)
Delete records when filter is matched
Delete records when filter is matched
(mongodb-delete-by-id collection _id)
Delete record by _id
Delete record by _id
(mongodb-disconnect)
Disconnect from mongo
Disconnect from mongo
(mongodb-drop-index collection index-name)
Drop mongo index on particular collection
Drop mongo index on particular collection
(mongodb-exists collection & [entity-filter])
Does any or records that match filter exists
Does any or records that match filter exists
(mongodb-find collection
&
[filter-map projection-map sort-map limit skip collation])
Find records that match filter-map return only fields mentined in projection-map sort by fields from sort-map ascending 1 or descending -1 limit final count of results skip number of records from start and return rest collation language key codes
Find records that match filter-map return only fields mentined in projection-map sort by fields from sort-map ascending 1 or descending -1 limit final count of results skip number of records from start and return rest collation language key codes
(mongodb-find-by-id collection _id)
Find record by id
Find record by id
(mongodb-find-one collection & [filter-map projection-map])
Find one record that matches filter-map with only fields mentioned in projection-map
Find one record that matches filter-map with only fields mentioned in projection-map
(mongodb-index-exists? collection index-name)
Check if mongo index exists
Check if mongo index exists
(mongodb-insert-many collection insert-documents-vector)
Insert many records in particular collection
Insert many records in particular collection
(mongodb-insert-one collection insert-document)
Insert one record in particular collection
Insert one record in particular collection
(mongodb-list-indexes collection)
List all mongo indexes of particular collection as clojure maps
List all mongo indexes of particular collection as clojure maps
(mongodb-update-by-id collection _id update-document)
Update record by id in particular collection with update-document
Update record by id in particular collection with update-document
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close