Debian Codegraph @

mysql-test/suite/x/r/delete_del_bad_expr.result

raw
1 create schema xtest;
2
3 command ok
4 RUN use xtest
5
6 0 rows affected
7 RUN insert into mycoll (doc) values ('{"_id": "1", "name": "Joe1"}')
8
9 1 rows affected
10 RUN insert into mycoll (doc) values ('{"_id": "2", "name": "Joe2", "last_name": "Smith"}')
11
12 1 rows affected
13 RUN insert into mycoll (doc) values ('{"_id": "3", "name": "Joe2", "last_name": "Shmo"}')
14
15 1 rows affected
16 send Mysqlx.Crud.Delete {
17 collection {
18 name: "mycoll"
19 schema: "xtest"
20 }
21 data_model: DOCUMENT
22 criteria {
23 type: OPERATOR
24 operator {
25 name: "=="
26 param {
27 type: IDENT
28 identifier {
29 document_path {
30 type: MEMBER
31 value: "last_name"
32 }
33 }
34 }
35 param {
36 type: LITERAL
37 literal {
38 type: V_OCTETS
39 v_octets {
40 value: "xxx"
41 }
42 }
43 }
44 }
45 }
46 }
47
48
49 0 rows affected
50 Mysqlx.Ok {
51 msg: "bye!"
52 }
53 ok