| 1 |
table_create Tags TABLE_HASH_KEY ShortText |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
table_create Users TABLE_HASH_KEY ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Users name COLUMN_SCALAR ShortText |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
column_create Users cards COLUMN_VECTOR UInt8 |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
column_create Users tags COLUMN_VECTOR Tags |
| 10 |
[[0,0.0,0.0],true] |
| 11 |
column_create Tags usrs_tags COLUMN_INDEX Users tags |
| 12 |
[[0,0.0,0.0],true] |
| 13 |
load --table Users |
| 14 |
[ |
| 15 |
["_key", "name", "cards", "tags"], |
| 16 |
["alice", "Alice", [1, "GARBAGE", 3], ["girl", "wonder"]] |
| 17 |
] |
| 18 |
[[0,0.0,0.0],1] |
| 19 |
#|e| <Users.cards>: failed to cast to <UInt8>: <"GARBAGE"> |
| 20 |
select Users |
| 21 |
[ |
| 22 |
[ |
| 23 |
0, |
| 24 |
0.0, |
| 25 |
0.0 |
| 26 |
], |
| 27 |
[ |
| 28 |
[ |
| 29 |
[ |
| 30 |
1 |
| 31 |
], |
| 32 |
[ |
| 33 |
[ |
| 34 |
"_id", |
| 35 |
"UInt32" |
| 36 |
], |
| 37 |
[ |
| 38 |
"_key", |
| 39 |
"ShortText" |
| 40 |
], |
| 41 |
[ |
| 42 |
"cards", |
| 43 |
"UInt8" |
| 44 |
], |
| 45 |
[ |
| 46 |
"name", |
| 47 |
"ShortText" |
| 48 |
], |
| 49 |
[ |
| 50 |
"tags", |
| 51 |
"Tags" |
| 52 |
] |
| 53 |
], |
| 54 |
[ |
| 55 |
1, |
| 56 |
"alice", |
| 57 |
[ |
| 58 |
1, |
| 59 |
3 |
| 60 |
], |
| 61 |
"Alice", |
| 62 |
[ |
| 63 |
"girl", |
| 64 |
"wonder" |
| 65 |
] |
| 66 |
] |
| 67 |
] |
| 68 |
] |
| 69 |
] |