Description Usage Arguments See Also Examples
Remove a file from a GridFS on a MongoDB server.
1 | mongo.gridfs.remove.file(gridfs, remotename)
|
gridfs |
A (mongo.gridfs) object. |
remotename |
(string) The name of the file to be removed (as known within the GridFS). |
mongo.gridfs,
mongo.gridfs.store.file
mongo.gridfs.store
.
1 2 3 4 5 6 | mongo <- mongo.create()
if (mongo.is.connected(mongo)) {
gridfs <- mongo.gridfs.create(mongo, "grid")
## Not run: mongo.gridfs.remove.file(gridfs, "test.R")
mongo.gridfs.destroy(gridfs)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.