Skip to content

Commit

Permalink
M #-: onedb change-live --append with multiindex
Browse files Browse the repository at this point in the history
do not update the matching elements on append

(cherry picked from commit d266248)
  • Loading branch information
atodorov-storpool authored and rsmontero committed Jun 15, 2023
1 parent de7d5c8 commit 93abf23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/onedb/onedb_live.rb
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,9 @@ def change_body(object, xpath, value, options = {})
if options[:delete]
el.remove
else
el.content = value
if !options[:append]
el.content = value
end
end
end

Expand Down

0 comments on commit 93abf23

Please sign in to comment.