Mongo::GridFS::File(FileID)
Inherits BSON::Serializable / Struct / Value / Object
A GridFS file document.
Constructors
Class methods
Instance methods
_id
A unique ID for this document. Usually this will be of type ObjectId, but a custom _id value provided by the application may be of any type.
_id=(_id : FileID)
A unique ID for this document. Usually this will be of type ObjectId, but a custom _id value provided by the application may be of any type.
chunk_size
The size, in bytes, of each data chunk of this file. This value is configurable by file. The default is 255 KiB.
chunk_size=(chunk_size : Int64)
The size, in bytes, of each data chunk of this file. This value is configurable by file. The default is 255 KiB.