| 1 |
table_create Int8Table TABLE_PAT_KEY Int8 |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
table_create Int8Tables TABLE_PAT_KEY Int8 |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Int8Tables index COLUMN_INDEX Int8Table _key |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
table_create Users TABLE_PAT_KEY ShortText |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
column_create Users score COLUMN_SCALAR Int8Table |
| 10 |
[[0,0.0,0.0],true] |
| 11 |
column_create Int8Table users_score COLUMN_INDEX Users score |
| 12 |
[[0,0.0,0.0],true] |
| 13 |
load --table Users |
| 14 |
[ |
| 15 |
{"_key": "Alice", "score": 2}, |
| 16 |
{"_key": "Bob", "score": 0}, |
| 17 |
{"_key": "Carlos", "score": -1} |
| 18 |
] |
| 19 |
[[0,0.0,0.0],3] |
| 20 |
log_level --level info |
| 21 |
[[0,0.0,0.0],true] |
| 22 |
select Users --filter 'score._key < 2 && score._key >= -1' --output_columns '_key, score' |
| 23 |
[ |
| 24 |
[ |
| 25 |
0, |
| 26 |
0.0, |
| 27 |
0.0 |
| 28 |
], |
| 29 |
[ |
| 30 |
[ |
| 31 |
[ |
| 32 |
2 |
| 33 |
], |
| 34 |
[ |
| 35 |
[ |
| 36 |
"_key", |
| 37 |
"ShortText" |
| 38 |
], |
| 39 |
[ |
| 40 |
"score", |
| 41 |
"Int8Table" |
| 42 |
] |
| 43 |
], |
| 44 |
[ |
| 45 |
"Carlos", |
| 46 |
-1 |
| 47 |
], |
| 48 |
[ |
| 49 |
"Bob", |
| 50 |
0 |
| 51 |
] |
| 52 |
] |
| 53 |
] |
| 54 |
] |
| 55 |
#|i| [table-selector][select][index][range] <Int8Tables.index> |
| 56 |
#|i| [accessor][resolve][data-column][index] <Int8Table.users_score> |
| 57 |
#|i| [table-selector][select][index][range] <Int8Tables.index> |
| 58 |
#|i| [accessor][resolve][data-column][index] <Int8Table.users_score> |