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|