Skip to content

Commit 8a23238

Browse files
scragglebugjmikola
authored andcommitted
Fix typo in query projection example
1 parent 6b2aa21 commit 8a23238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/crud.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ $collection = (new MongoDB\Client)->demo->zips;
136136
137137
$document = $collection->findOne(
138138
['_id' => '10011'],
139-
['projection' => ['pop => 1']]
139+
['projection' => ['pop' => 1]]
140140
);
141141
142142
var_dump($document);

0 commit comments

Comments
 (0)