| 1 |
table_create Users TABLE_HASH_KEY ShortText |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Users age COLUMN_SCALAR Int32 |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
table_create Ages TABLE_PAT_KEY Int32 |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
column_create Ages users_age COLUMN_INDEX Users age |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
load --table Users |
| 10 |
[ |
| 11 |
{"_key": "alice", "age": 17}, |
| 12 |
{"_key": "bob", "age": 18}, |
| 13 |
{"_key": "calros", "age": 19}, |
| 14 |
{"_key": "dave", "age": 20}, |
| 15 |
{"_key": "eric", "age": 21} |
| 16 |
] |
| 17 |
[[0,0.0,0.0],5] |
| 18 |
select Users --filter 'between(age, 18, "include", 20, "exclude")' |
| 19 |
[ |
| 20 |
[ |
| 21 |
0, |
| 22 |
0.0, |
| 23 |
0.0 |
| 24 |
], |
| 25 |
[ |
| 26 |
[ |
| 27 |
[ |
| 28 |
2 |
| 29 |
], |
| 30 |
[ |
| 31 |
[ |
| 32 |
"_id", |
| 33 |
"UInt32" |
| 34 |
], |
| 35 |
[ |
| 36 |
"_key", |
| 37 |
"ShortText" |
| 38 |
], |
| 39 |
[ |
| 40 |
"age", |
| 41 |
"Int32" |
| 42 |
] |
| 43 |
], |
| 44 |
[ |
| 45 |
2, |
| 46 |
"bob", |
| 47 |
18 |
| 48 |
], |
| 49 |
[ |
| 50 |
3, |
| 51 |
"calros", |
| 52 |
19 |
| 53 |
] |
| 54 |
] |
| 55 |
] |
| 56 |
] |