Details
-
Story
-
Resolution: Fixed
-
Major
-
6.5.0
-
None
Description
Be able to run basic DML statements.
"A": { "val" : "A", "f1": "stuff", "f2": "other" }
"B": { "val" : "B", "f1": 2 }
"C": { "val" : "C", "f2": true }
Setup: Standard.
Action: Run statement INSERT INTO myBucket.myScope.myCollection VALUES ("foo", { "val" : "D", "f1" : "new" })
Expected Result: New document appears in collection.
Setup: Standard
Action: Run statement UPDATE myBucket.myScope.myCollection SET f2 = "created" WHERE val = "B"
Expected Result: Document B gets a new field f2:"created"
Setup: Standard
Action: Run statement DELETE FROM myBucket.myScope.myCollection WHERE val = "B"
Expected Result: Document B is deleted.
Setup: Standard.
Action: Run statement UPSERT INTO myBucket.myScope.myCollection VALUES ("foo", { "val" : "D", "f1" : "upserted" })
Expected Result: New document appears in collection.
Attachments
Issue Links
- blocks
-
MB-38290 User with query-update permission on bucket can't update bucket with collection format
-
- Closed
-
For Gerrit Dashboard: MB-31292 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
121916,5 | MB-31292 INSERT / UPDATE / DELETE and bulk get operation | master | gomemcached | Status: MERGED | +2 | +1 |
121917,4 | MB-31292 INSERT / UPDATE / DELETE and bulk get operation | master | go-couchbase | Status: MERGED | +2 | +1 |
122606,5 | MB-31292 gomemcached collection changes | master | gomemcached | Status: MERGED | +2 | +1 |