| 1 |
Execution example:: |
| 2 |
|
| 3 |
table_create Users TABLE_HASH_KEY ShortText |
| 4 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 5 |
column_create Users age COLUMN_SCALAR Int32 |
| 6 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 7 |
table_create Ages TABLE_HASH_KEY Int32 |
| 8 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 9 |
column_create Ages user_age COLUMN_INDEX Users age |
| 10 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 11 |
load --table Users |
| 12 |
[ |
| 13 |
{"_key": "Alice", "age": 12}, |
| 14 |
{"_key": "Bob", "age": 13}, |
| 15 |
{"_key": "Calros", "age": 15}, |
| 16 |
{"_key": "Dave", "age": 16}, |
| 17 |
{"_key": "Eric", "age": 20}, |
| 18 |
{"_key": "Frank", "age": 21} |
| 19 |
] |
| 20 |
# [[0,1337566253.89858,0.000355720520019531],6] |