File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 29
29
// Deletes and prints the number of documents that have a "cuisine" value of "Greek"
30
30
// start-delete-count
31
31
$ result = $ collection ->deleteMany (['cuisine ' => 'Greek ' ]);
32
- echo 'Deleted documents: ' . $ result ->getDeletedCount () . PHP_EOL ;
32
+ echo 'Deleted documents: ' , $ result ->getDeletedCount () , PHP_EOL ;
33
33
// end-delete-count
34
34
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ database from the :atlas:`Atlas sample datasets </sample-data>`. To access this
35
35
from your PHP application, instantiate a ``MongoDB\Client`` that connects to an Atlas cluster
36
36
and assign the following value to your ``$collection`` variable:
37
37
38
- .. literalinclude:: /includes/read /delete.php
38
+ .. literalinclude:: /includes/write /delete.php
39
39
:language: php
40
40
:dedent:
41
41
:start-after: start-db-coll
You can’t perform that action at this time.
0 commit comments