| 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 |
} |
| 23 |
|
| 24 |
|
| 25 |
3 rows affected |
| 26 |
Mysqlx.Ok { |
| 27 |
msg: "bye!" |
| 28 |
} |
| 29 |
ok |