Module qm_mongodb::action::gridfs
source · Expand description
Action builders for gridfs.
Structs§
- Deletes a specific [
FilesCollectionDocument
] and its associated chunks. Construct withGridFsBucket::delete
. - Removes all of the files and their associated chunks from a bucket. Construct with
GridFsBucket::drop
. - Finds and returns the
FilesCollectionDocument
s within a bucket that match a given filter. Construct withGridFsBucket::find
. - Finds and returns a single
FilesCollectionDocument
within a bucket that matches a given filter. Construct withGridFsBucket::find_one
. - Opens and returns a
GridFsDownloadStream
from which the application can read the contents of the stored file specified by an id. Construct withGridFsBucket::open_download_stream
. - Opens and returns a
GridFsDownloadStream
from which the application can read the contents of the stored file specified by a filename. Construct withGridFsBucket::open_download_stream_by_name
. - Creates and returns a
GridFsUploadStream
that the application can write the contents of a file to. Construct withGridFsBucket::open_upload_stream
. - Renames a file. Construct with
GridFsBucket::rename
.