Commit 605b0a4
committed
JSCBC-1117: Allow callback when options not provided for all KV operations
Motivation
----------
Key-value operations should support callbacks even when options are not
provided.
Changes
-------
Updated various key-value operations to appropriately handle when only a
callback is passed in and options are omitted. Added tests to confirm
functionality.
Change-Id: Id64137ff7d65962cb679270f565508e87635861c
Reviewed-on: https://review.couchbase.org/c/couchnode/+/185160
Tested-by: Jared Casey <jared.casey@couchbase.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>1 parent cbb9330 commit 605b0a4
2 files changed
+333
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
889 | 889 | | |
890 | 890 | | |
891 | 891 | | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
892 | 896 | | |
893 | 897 | | |
894 | 898 | | |
| |||
926 | 930 | | |
927 | 931 | | |
928 | 932 | | |
929 | | - | |
| 933 | + | |
930 | 934 | | |
931 | 935 | | |
932 | 936 | | |
| |||
1012 | 1016 | | |
1013 | 1017 | | |
1014 | 1018 | | |
1015 | | - | |
| 1019 | + | |
1016 | 1020 | | |
1017 | 1021 | | |
1018 | 1022 | | |
| |||
1099 | 1103 | | |
1100 | 1104 | | |
1101 | 1105 | | |
1102 | | - | |
| 1106 | + | |
1103 | 1107 | | |
1104 | 1108 | | |
1105 | 1109 | | |
| |||
1884 | 1888 | | |
1885 | 1889 | | |
1886 | 1890 | | |
1887 | | - | |
| 1891 | + | |
1888 | 1892 | | |
1889 | 1893 | | |
1890 | 1894 | | |
| |||
1958 | 1962 | | |
1959 | 1963 | | |
1960 | 1964 | | |
1961 | | - | |
| 1965 | + | |
1962 | 1966 | | |
1963 | 1967 | | |
1964 | 1968 | | |
| |||
0 commit comments