Skip to content

Commit

Permalink
Add note about prefix with gridfs api
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Jun 4, 2024
1 parent e633d9a commit b381163
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/filesystems.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,9 @@ if you need to work with revisions, as shown in the following code:

// Download the last but one version of a file
$bucket->openDownloadStreamByName('hello.txt', ['revision' => -2])

.. note::

The Filesystem component handles the path prefix, and removes any leading
directory separator ``/``. If you use the GridFS API directly, you have to
manage it by yourself.

0 comments on commit b381163

Please sign in to comment.