File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 28
28
29
29
// start-index-single-query
30
30
$ document = $ collection ->findOne (['title ' => 'Sweethearts ' ]);
31
- echo json_encode ($ document ) , PHP_EOL ;
31
+ echo json_encode ($ document ), PHP_EOL ;
32
32
// end-index-single-query
33
33
34
34
// start-multikey
39
39
$ document = $ collection ->findOne (
40
40
['cast ' => ['$in ' => ['Aamir Khan ' , 'Kajol ' ]]]
41
41
);
42
- echo json_encode ($ document ) , PHP_EOL ;
42
+ echo json_encode ($ document ), PHP_EOL ;
43
43
// end-index-array-query
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function toJSON(object $document): string
38
38
39
39
// start-search-list
40
40
foreach ($ collection ->listSearchIndexes () as $ indexInfo ) {
41
- echo toJSON ($ indexInfo ) , PHP_EOL ;
41
+ echo toJSON ($ indexInfo ), PHP_EOL ;
42
42
}
43
43
// end-search-list
44
44
You can’t perform that action at this time.
0 commit comments