NAME

Mongoose::File - container for MongoDB::GridFSBucket files

DESCRIPTION

This module is automatically used when your class has FileHandle type attributes.

It wraps MongoDB::GridFSBucket::DownloadStream and adds a few convenience methods to it.

METHODS

delete

Deletes the GridFS file entry.

drop

Same as delete

slurp

Retrieve the full content of the file at once.