Files
heartwood/radicle-cli/examples
Fintan Halpenny 3556758386 cli: fix rad inbox clear output
If multiple ids are specified for `rad inbox clear`, it would report
that only 1 item was cleared, when in fact multiple were.

This was found to be due to the SQL code returning a change count of
`1`. This is likely due to the way the statement is being reset each
time. The `sqlite` library does not seem to easily support the usage
of `IN` in a `WHERE` clause. So instead, the `count` is aggregated in
the loop and returned instead.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2024-04-09 16:09:44 +02:00
..
2024-03-09 14:01:30 +01:00
2024-01-26 15:22:10 +01:00
2024-03-11 10:46:09 +01:00
2024-03-11 13:22:14 +01:00
2023-11-09 13:04:40 +01:00
2024-04-03 14:30:05 +02:00
2024-04-09 16:09:44 +02:00
2024-02-26 12:40:17 +01:00
2024-03-09 14:01:30 +01:00
2024-01-08 17:28:01 +01:00
2024-03-09 14:01:30 +01:00
2024-02-26 14:23:13 +01:00
2024-03-11 10:46:09 +01:00
2023-12-11 12:04:26 +01:00