-
-
Notifications
You must be signed in to change notification settings - Fork 169
unlink
dr.dimitru edited this page Apr 27, 2016
·
7 revisions
Unlink file an its subversions from FS. This is low-level method. You shouldn't use it, unless you know what you're doing.
-
fileRef
{Object} - FullfileRef
object, returned fromFilesCollection.findOne().get()
- Returns {Files} - Current FilesCollection instance
var Images = new FilesCollection({collectionName: 'Images'});
Images.unlink(Images.collection.findOne({}));
Meteor-Files | Support | Try ostr.io |
---|---|---|
If you found this package useful, — star it at GitHub and support our open source contributions with a monthly pledge, or submit a one-time donation via PayPal | Monitoring, Analytics, WebSec, Web-CRON and Pre-rendering for a website |