Skip to content

Commit 0ec7b6a

Browse files
committed
AB feedback
1 parent 6241c8a commit 0ec7b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/includes/read/distinct.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
// Retrieves distinct "name" field values for documents matching the "borough" and "cuisine" fields query
3030
// and attaches a comment to the operation
3131
// start-distinct-with-comment
32-
$query = ['$and' => [['borough' => 'Bronx'], ['cuisine' => 'Pizza']]];
32+
$query = ['borough' => 'Bronx', 'cuisine' => 'Pizza'];
3333
$options = ['comment' => 'Bronx pizza restaurants'];
3434
$results = $collection->distinct('name', $query, $options);
3535

0 commit comments

Comments
 (0)