Expand description
Action builders for gridfs.
Structsยง
- Delete
- Deletes a specific
FilesCollectionDocumentand its associated chunks. Construct withGridFsBucket::delete. - Delete
ByName - Deletes a named
FilesCollectionDocumentand its associated chunks. Construct withGridFsBucket::delete_by_name. - Drop
- Removes all of the files and their associated chunks from a bucket. Construct with
GridFsBucket::drop. - Find
- Finds and returns the
FilesCollectionDocuments within a bucket that match a given filter. Construct withGridFsBucket::find. - FindOne
- Finds and returns a single
FilesCollectionDocumentwithin a bucket that matches a given filter. Construct withGridFsBucket::find_one. - Open
Download Stream - Opens and returns a
GridFsDownloadStreamfrom which the application can read the contents of the stored file specified by an id. Construct withGridFsBucket::open_download_stream. - Open
Download Stream ByName - Opens and returns a
GridFsDownloadStreamfrom which the application can read the contents of the stored file specified by a filename. Construct withGridFsBucket::open_download_stream_by_name. - Open
Upload Stream - Creates and returns a
GridFsUploadStreamthat the application can write the contents of a file to. Construct withGridFsBucket::open_upload_stream. - Rename
- Renames a file. Construct with
GridFsBucket::rename. - Rename
ByName - Renames a file selected by name. Construct with
GridFsBucket::rename_by_name.