The MongoGridFS class
Introduction
Utilities for storing and retrieving files from the database.
Class synopsis
Table of Contents
- MongoGridFS::__construct — Creates new file collections
- MongoGridFS::drop — Drops the files and chunks collections
- MongoGridFS::find — Queries for files
- MongoGridFS::findOne — Returns a single file matching the criteria
- MongoGridFS::remove — Removes files from the collections
- MongoGridFS::storeBytes — Chunkifies and stores bytes in the database
- MongoGridFS::storeFile — Stores a file in the database
- MongoGridFS::storeUpload — Saves an uploaded file to the database
MongoGridFS
There are no user contributed notes for this page.
