| 1 |
table_create Users TABLE_HASH_KEY ShortText |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Users age COLUMN_SCALAR UInt8 |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
table_create Ages TABLE_PAT_KEY UInt8 |
| 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 Ages |
| 10 |
[ |
| 11 |
{"_key": 0} |
| 12 |
] |
| 13 |
[[0,0.0,0.0],1] |
| 14 |
load --table Users |
| 15 |
[ |
| 16 |
{"_key": "alice", "age": 10} |
| 17 |
] |
| 18 |
[[0,0.0,0.0],1] |
| 19 |
log_level --level info |
| 20 |
[[0,0.0,0.0],true] |
| 21 |
select Users --filter 'age >= 10' |
| 22 |
[ |
| 23 |
[ |
| 24 |
0, |
| 25 |
0.0, |
| 26 |
0.0 |
| 27 |
], |
| 28 |
[ |
| 29 |
[ |
| 30 |
[ |
| 31 |
1 |
| 32 |
], |
| 33 |
[ |
| 34 |
[ |
| 35 |
"_id", |
| 36 |
"UInt32" |
| 37 |
], |
| 38 |
[ |
| 39 |
"_key", |
| 40 |
"ShortText" |
| 41 |
], |
| 42 |
[ |
| 43 |
"age", |
| 44 |
"UInt8" |
| 45 |
] |
| 46 |
], |
| 47 |
[ |
| 48 |
1, |
| 49 |
"alice", |
| 50 |
10 |
| 51 |
] |
| 52 |
] |
| 53 |
] |
| 54 |
] |
| 55 |
#|i| [table-selector][select][index][range] <Ages.users_age> |