Skip to content

Commit 0a1a84c

Browse files
committed
Fixes
1 parent aa221f9 commit 0a1a84c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

source/includes/write/update.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
puts "#{many_result.modified_count} document(s) updated."
3737
# end-update-many
3838

39+
# Performs an update operation with the upsert option enabled
3940
# start-update-options
4041
filter = { 'name' => 'Sunrise Pizzeria' }
4142

source/write/update.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ value:
7575
.. input:: /includes/write/update.rb
7676
:start-after: start-update-one
7777
:end-before: end-update-one
78-
:emphasize-lines: 3
7978
:language: ruby
8079
:dedent:
8180

@@ -98,7 +97,6 @@ in which the ``name`` field value is ``"Starbucks"``. The update document uses t
9897
.. input:: /includes/write/update.rb
9998
:start-after: start-update-many
10099
:end-before: end-update-many
101-
:emphasize-lines: 3
102100
:language: ruby
103101
:dedent:
104102

@@ -184,7 +182,6 @@ doesn't match any existing documents.
184182
:start-after: start-update-options
185183
:end-before: end-update-options
186184
:language: ruby
187-
:emphasize-lines: 2
188185
:dedent:
189186

190187
.. output::

0 commit comments

Comments
 (0)