File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ of ``'my_file'``:
411411Delete Files
412412------------
413413
414- Use the ``MongoDB\GridFS\Bucket::delete()`` method to remove a file's collection
414+ Use the ``MongoDB\GridFS\Bucket::delete()`` method to remove a GridFS file's collection
415415document and associated chunks from your bucket. This effectively deletes the file.
416416Pass the ``_id`` value of the file you want to delete as a parameter to the
417417``delete()`` method.
@@ -425,7 +425,7 @@ The following example shows you how to delete a file by referencing its ``_id``
425425 :end-before: end-delete-files-id
426426
427427Alternatively, you can use the ``MongoDB\GridFS\Bucket::deleteByName()`` method
428- to delete a file and all its file revisions. Pass the ``filename`` value of the
428+ to delete a GridFS file and all its file revisions. Pass the ``filename`` value of the
429429file you want to delete as a parameter to the ``deleteByName()`` method, as shown
430430in the following code:
431431
You can’t perform that action at this time.
0 commit comments