Commit 568c499
committed
JSCBC-1369: MutateIn Replace with empty path should do a full doc replace
Motivation
----------
The RFC states that on a mutateIn Replace with an empty spec, the SDK should
d oa full doc replace
Changes
-------
Change the opcode to a SET_DOC when an empty path is provided onto a replace mutateIn spec
Change-Id: Id862f3fa7e64a72ff2d69122bdbbdafe7a278809
Reviewed-on: https://review.couchbase.org/c/couchnode/+/234798
Reviewed-by: Jared Casey <jared.casey@couchbase.com>
Tested-by: Mateusz <matt.wozakowski@couchbase.com>1 parent 0925b1c commit 568c499
1 file changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
417 | 419 | | |
418 | 420 | | |
419 | 421 | | |
| |||
0 commit comments