| 1 |
Execution example:: |
| 2 |
|
| 3 |
table_create Users TABLE_HASH_KEY ShortText |
| 4 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 5 |
column_create Users high_score COLUMN_SCALAR Int32 |
| 6 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 7 |
column_copy Players high_score Users high_score |
| 8 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 9 |
column_remove Players high_score |
| 10 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 11 |
select Users |
| 12 |
# [ |
| 13 |
# [ |
| 14 |
# 0, |
| 15 |
# 1337566253.89858, |
| 16 |
# 0.000355720520019531 |
| 17 |
# ], |
| 18 |
# [ |
| 19 |
# [ |
| 20 |
# [ |
| 21 |
# 1 |
| 22 |
# ], |
| 23 |
# [ |
| 24 |
# [ |
| 25 |
# "_id", |
| 26 |
# "UInt32" |
| 27 |
# ], |
| 28 |
# [ |
| 29 |
# "_key", |
| 30 |
# "ShortText" |
| 31 |
# ], |
| 32 |
# [ |
| 33 |
# "high_score", |
| 34 |
# "Int32" |
| 35 |
# ] |
| 36 |
# ], |
| 37 |
# [ |
| 38 |
# 1, |
| 39 |
# "player1", |
| 40 |
# 100 |
| 41 |
# ] |
| 42 |
# ] |
| 43 |
# ] |
| 44 |
# ] |