Commit 75c2e7e
authored
Update README.md
Change
DB::collection('items')->project(['tags' => array('$slice' => 1]))->get();
To
DB::collection('items')->project(['tags' => array('$slice' => 1)])->get();1 parent 02ca494 commit 75c2e7e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
885 | 885 | | |
886 | 886 | | |
887 | 887 | | |
888 | | - | |
| 888 | + | |
889 | 889 | | |
890 | 890 | | |
891 | 891 | | |
| |||
0 commit comments