Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
4.5.0
Description
There has been some suggestions for additional subdoc opcodes, to simplify usage / make it easier to support Datatypes:
- Count how many elements exist in an array / dict
- Fetch of array slices.
- For subdoc mutations, create if doesn't exist (note that most subdoc commands require a path, so this may need some changes to existing semantics).
- ... maybe others ...
Attachments
1.
|
add SUBDOC_ARRAY_SIZE to count the number of elements within an array |
![]() |
Resolved | Mark Nunberg (Inactive) |
2.
|
add SUBDOC_ARRAY_CONTAINS |
![]() |
Open | Unassigned |
3.
|
Add SUBDOC_FLAG_QUIET (or similar) to suppress certain errors |
![]() |
Open | Unassigned |
4.
|
allow document creation with certain subdoc commands |
![]() |
Resolved | Mark Nunberg (Inactive) |
Gerrit Reviews
For Gerrit Dashboard: MB-20198 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
65902,9 | MB-20199: GET_COUNT: Count the size of objects | master | subjson | Status: MERGED | +2 | +1 |
65913,7 | MB-20199: add SUBDOC_GET_COUNT | master | memcached | Status: MERGED | +2 | +1 |
65962,21 | MB-20203: Allow document creation with subdoc | master | memcached | Status: MERGED | +2 | +1 |