Commit e613d8f9 authored by Jagdeep Singh's avatar Jagdeep Singh

update readme

parent 3176d180
......@@ -836,8 +836,6 @@ DB::collection('items')->project(array('tags' => array('$slice' => 1)))->get();
**Projections with Pagination**
You can apply projections to your queries using the `project` method.
```php
$limit = 25;
$projections = array('id', 'name');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment