pub async fn delete(pool: &Pool, id: i64) -> Result<usize, ExecError>Expand description
Delete one scratch row by id. Returns the number of rows removed (0 or 1). Filesystem cleanup is the caller’s responsibility — this only touches the DB row.
§Errors
Driver / query failures.