| 1 |
table_create Reports TABLE_HASH_KEY ShortText |
| 2 |
|
| 3 |
column_create Reports content COLUMN_SCALAR Text |
| 4 |
column_create Reports modified_at COLUMN_SCALAR Time |
| 5 |
|
| 6 |
load --table Reports |
| 7 |
[ |
| 8 |
{"_key": "a", "content": "", "modified_at": 1663989875.438} |
| 9 |
] |
| 10 |
|
| 11 |
load --table Reports --ifexists 'content == "" && modified_at <= 1663989875.437' |
| 12 |
[ |
| 13 |
{"_key": "a", "content": "not update"} |
| 14 |
] |
| 15 |
select Reports |
| 16 |
|
| 17 |
load --table Reports --ifexists 'content == "" && modified_at <= 1663989875.438' |
| 18 |
[ |
| 19 |
{"_key": "a", "content": "update"} |
| 20 |
] |
| 21 |
select Reports |