pub async fn delete_event(
pool: &SqlitePool,
id: i64,
cron_mode: bool,
confirm: bool,
) -> Result<()>Expand description
Delete a recurring or regular event by ID.
ยงParameters
pool: instance of an SQLite database pool, that takes SQL requestsid: ID of the event in the databasecron_mode: Delete recurring events when this istrueconfirm: Ask the user for confirmation unless this istrue