We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6602279 commit bb5f224Copy full SHA for bb5f224
examples/update.rb
@@ -9,7 +9,7 @@
9
10
# Update multiple documents
11
12
-client[:restaurants].find('address.zipcode' => '10016').update_many('$set'=> { 'borough' => 'Midtown' },
+client[:restaurants].find('address.zipcode' => '10016').update_many('$set'=> { 'borough' => 'Manhattan' },
13
'$currentDate' => { 'lastModified' => true })
14
15
# Replace the contents of a single document
0 commit comments