| 1 |
table_create Users TABLE_HASH_KEY ShortText |
| 2 |
column_create Users age COLUMN_SCALAR UInt8 |
| 3 |
|
| 4 |
table_create Ages TABLE_PAT_KEY UInt8 |
| 5 |
column_create Ages users_age COLUMN_INDEX Users age |
| 6 |
|
| 7 |
load --table Users |
| 8 |
[ |
| 9 |
{"_key": "Alice", "age": 20}, |
| 10 |
{"_key": "Bob", "age": 18} |
| 11 |
] |
| 12 |
|
| 13 |
select Ages |
| 14 |
select Users --filter 'age == 20' |
| 15 |
select Users --filter 'age == 0' |
| 16 |
|
| 17 |
delete Users --filter 'age == 20' |
| 18 |
|
| 19 |
select Ages |
| 20 |
select Users --filter 'age == 20' |
| 21 |
select Users --filter 'age == 0' |