Skip to content

Commit b381163

Browse files
committed
Add note about prefix with gridfs api
1 parent e633d9a commit b381163

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/filesystems.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,9 @@ if you need to work with revisions, as shown in the following code:
151151

152152
// Download the last but one version of a file
153153
$bucket->openDownloadStreamByName('hello.txt', ['revision' => -2])
154+
155+
.. note::
156+
157+
The Filesystem component handles the path prefix, and removes any leading
158+
directory separator ``/``. If you use the GridFS API directly, you have to
159+
manage it by yourself.

0 commit comments

Comments
 (0)