Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.0.0-alpha5
-
None
-
1
Description
Follow up to NCBC-2091 to re-introduce methods for appending, prepending, inserting multi-values to an array.
The methods ArrayAppend, ArrayPrepend and ArrayInsert require that the brackets be removed while serializing the commands/body and just before sending. In v2 we use the method StripBrackets to do this to the byte array if the operation type has a flag set for removing brackets:
The method StripBrackets is defined here:
This needs to be ported and integrated with the newer buffer manager code nin v3; its not a direct port unfortunately as the newer buffering is contiguous.
Attachments
For Gerrit Dashboard: NCBC-2092 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
114260,4 | NCBC-2092: Add array overloads to ArrayAppend, ArrayPrepend and ArrayInsert | master | couchbase-net-client | Status: MERGED | +2 | +1 |