Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 2c31260

Browse files
authored
Update Tutorial.pod
typos
1 parent 162926a commit 2c31260

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/MongoDB/Tutorial.pod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ the C<"likes"> array, we write:
208208
$users->update_one({"_id" => $id}, {'$push' => {'likes' => 'reading'}});
209209

210210
To add a new field or change the type or value of an existing field, we use
211-
C<$set>. For example, to change the _id field to a username, we would say:
211+
C<$set>. For example, to change the C<name> field to a username, we would say:
212212

213213
$users->update_one({"_id" => $id}, {'$set' => {'name' => 'joe_schmoe'}});
214214

@@ -240,7 +240,7 @@ They take the same type of hash queries do:
240240

241241
$users->delete_many({"name" => "Joe"});
242242

243-
It does not delete the collection, though (in that in that it will still appear
243+
It does not delete the collection, though (in that it will still appear
244244
if the user lists collections in the database and the indexes will still exist).
245245
To remove a collection entirely, call C<drop>:
246246

@@ -254,7 +254,7 @@ C<drop> can also be used for whole databases:
254254

255255
=head2 Database Commands
256256

257-
There are a large number of useful database commands that can be called
257+
There is a large number of useful database commands that can be called
258258
directly on C<$db> with the L<run_command|MongoDB::Database/run_command>
259259
method.
260260

0 commit comments

Comments
 (0)