| 1 |
table_create Logs TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Logs id COLUMN_SCALAR Int32 |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Logs message COLUMN_SCALAR ShortText |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
load --table Logs |
| 8 |
[ |
| 9 |
{"id": 11, "message": "Hello"}, |
| 10 |
{"id": 22, "message": "World"} |
| 11 |
] |
| 12 |
[[0,0.0,0.0],2] |
| 13 |
dump |
| 14 |
table_create Logs TABLE_NO_KEY |
| 15 |
column_create Logs id COLUMN_SCALAR Int32 |
| 16 |
column_create Logs message COLUMN_SCALAR ShortText |
| 17 |
|
| 18 |
load --table Logs |
| 19 |
[ |
| 20 |
["_id","id","message"], |
| 21 |
[1,11,"Hello"], |
| 22 |
[2,22,"World"] |
| 23 |
] |
| 24 |
truncate Logs.message |
| 25 |
[[0,0.0,0.0],true] |
| 26 |
dump |
| 27 |
table_create Logs TABLE_NO_KEY |
| 28 |
column_create Logs id COLUMN_SCALAR Int32 |
| 29 |
column_create Logs message COLUMN_SCALAR ShortText |
| 30 |
|
| 31 |
load --table Logs |
| 32 |
[ |
| 33 |
["_id","id","message"], |
| 34 |
[1,11,""], |
| 35 |
[2,22,""] |
| 36 |
] |