Skip to content

Commit d80ba11

Browse files
committed
code edits
1 parent c9a8195 commit d80ba11

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

source/includes/read/specify-queries.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
// start-setup
88
$uri = "<connection string>";
99
$client = new Client($uri);
10-
11-
$db = $client->db;
12-
$collection = $db->fruits;
10+
$collection = $client->db->fruits;
1311

1412
// Inserts documents representing fruits
1513
$fruits = [
@@ -108,5 +106,3 @@
108106
echo json_encode($doc) . PHP_EOL;
109107
}
110108
// end-find-evaluation
111-
112-
?>

0 commit comments

Comments
 (0)