Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cli: fix rad inbox clear output
Merged fintohaps opened 2 years ago

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.

fintohaps opened with revision 09696eea on base bd8e0ebc +6 -2 2 years ago

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.

did:key:z6MksFqX...wzpT pushed revision 2 386d8357 on base 8bf87190 +6 -2 2 years ago

Rebase.

did:key:z6MksFqX...wzpT merged revision 386d8357 at 35567583 2 years ago