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

all-files

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

content-type

(content-type input s)

filename

(filename input s)

files-as-maps

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

find

(find fs query)

find-by-filename

(find-by-filename fs filename)

find-by-id

(find-by-id fs id)

find-by-md5

(find-by-md5 fs md5)

find-map-by-id

(find-map-by-id fs id)

find-maps

(find-maps fs query)

find-one

(find-one fs query)

find-one-as-map

(find-one-as-map fs query)

InputStreamFactory

protocol

members

to-input-stream

(to-input-stream input)
Makes InputStream out of the given input

make-input-file

(make-input-file fs input)

metadata

(metadata input md)

remove

(remove fs query)

remove-all

(remove-all fs)

save

(save input)

store

macro

(store input & body)

store-file

macro

(store-file input & body)