There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

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.