Skip to content

Commit 6d499f6

Browse files
committed
code edits
1 parent 7298477 commit 6d499f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/includes/write/delete.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
// Deletes and prints the number of documents that have a "cuisine" value of "Greek"
3030
// start-delete-count
3131
$result = $collection->deleteMany(['cuisine' => 'Greek']);
32-
echo 'Deleted documents: ' . $result->getDeletedCount() . PHP_EOL;
32+
echo 'Deleted documents: ' , $result->getDeletedCount() , PHP_EOL;
3333
// end-delete-count
3434

source/write/delete.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ database from the :atlas:`Atlas sample datasets </sample-data>`. To access this
3535
from your PHP application, instantiate a ``MongoDB\Client`` that connects to an Atlas cluster
3636
and assign the following value to your ``$collection`` variable:
3737

38-
.. literalinclude:: /includes/read/delete.php
38+
.. literalinclude:: /includes/write/delete.php
3939
:language: php
4040
:dedent:
4141
:start-after: start-db-coll

0 commit comments

Comments
 (0)