Liking cljdoc? Tell your friends :D

monger.gridfs

Provides functions and macros for working with GridFS: storing files in GridFS, streaming files from GridFS, finding stored files.

Related documentation guide: http://clojuremongodb.info/articles/gridfs.html

Provides functions and macros for working with GridFS: storing files in GridFS, streaming files from GridFS,
finding stored files.

Related documentation guide: http://clojuremongodb.info/articles/gridfs.html
raw docstring

all-filesclj

(all-files fs)
(all-files fs query)

content-typeclj

(content-type input s)

filenameclj

(filename input s)

files-as-mapsclj

(files-as-maps fs)
(files-as-maps fs query)

findclj

(find fs query)

find-by-filenameclj

(find-by-filename fs filename)

find-by-idclj

(find-by-id fs id)

find-by-md5clj

(find-by-md5 fs md5)

find-map-by-idclj

(find-map-by-id fs id)

find-mapsclj

(find-maps fs query)

find-oneclj

(find-one fs query)

find-one-as-mapclj

(find-one-as-map fs query)

GridFSInputFileFactorycljprotocol

create-gridfs-fileclj

(create-gridfs-file input fs)

Creates a file entry

Creates a file entry

InputStreamFactorycljprotocol

to-input-streamclj

(to-input-stream input)

Makes InputStream out of the given input

Makes InputStream out of the given input

make-input-fileclj

(make-input-file fs input)

metadataclj

(metadata input md)

removeclj

(remove fs query)

remove-allclj

(remove-all fs)

saveclj

(save input)

storecljmacro

(store input & body)

store-filecljmacro

(store-file input & body)

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

× close