pub async fn execute<'a>(
db: impl Executor<'a>,
sql: &str,
binds: &[Value],
) -> Result<u64, Error>Expand description
Runs a statement that changes rows, such as UPDATE or DELETE, and returns the rows
affected. Use insert on Query for a plain insert, which also returns the id.