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 ...
|add SUBDOC_ARRAY_SIZE to count the number of elements within an array||Resolved|
|Add SUBDOC_FLAG_QUIET (or similar) to suppress certain errors||Open||Unassigned|
|allow document creation with certain subdoc commands||Resolved|
|For Gerrit Dashboard: MB-20198|
|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|