Liking cljdoc? Tell your friends :D

nsfw.mongo


add-index!clj

source

bson-idclj

(bson-id)
(bson-id id-or-str)
source

connect!clj

(connect! url)
source

decode-raw-queryclj

(decode-raw-query raw-query)
source

destroy!clj

source

existing-or-nowclj

(existing-or-now v)
source

fetchclj

source

fetch-and-modifyclj

source

fetch-countclj

source

fetch-oneclj

source

format-for-transit-storageclj

(format-for-transit-storage obj query-paths)
source

insert!clj

source

make-connectionclj

source

mongo!clj

source

parse-mongo-urlclj

(parse-mongo-url mongo-url-str)

Takes a string representing a mongod connection and returns a map representing the connection information.

ex. (parse-mongo-url "mongodb://foo:bar@localhost:123/database?asdf=zxcv") ;; => {:host "localhost" :db "zaarly" :port 27107 :username "foo" :password "bar" :asdf "zxcv"}

Takes a string representing a mongod connection and returns a map
representing the connection information.

ex. (parse-mongo-url "mongodb://foo:bar@localhost:123/database?asdf=zxcv")
;; => {:host     "localhost"
       :db       "zaarly"
       :port     27107
       :username "foo"
       :password "bar"
       :asdf     "zxcv"}
sourceraw docstring

parse-passwordclj

(parse-password uri)

ex. uri http://foo:bar@zaarly.com returns "bar".

ex. uri http://foo:bar@zaarly.com returns `"bar"`.
sourceraw docstring

parse-usernameclj

(parse-username uri)

ex. uri http://foo:bar@zaarly.com returns "foo".

ex. uri http://foo:bar@zaarly.com returns `"foo"`.
sourceraw docstring

update!clj

source

update-timestampsclj

(update-timestamps p)
source

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

× close