We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02ca494 commit 75c2e7eCopy full SHA for 75c2e7e
README.md
@@ -885,7 +885,7 @@ DB::collection('users')->where('name', 'John')
885
You can apply projections to your queries using the `project` method.
886
887
```php
888
-DB::collection('items')->project(['tags' => array('$slice' => 1]))->get();
+DB::collection('items')->project(['tags' => array('$slice' => 1)])->get();
889
```
890
891
**Projections with Pagination**
0 commit comments