async fn delete_substance(pool: &PgPool, cas_number: &str) -> Result<()> {
sqlx::query!("DELETE FROM substances WHERE cas_number = $1", cas_number)
.execute(pool)
.await?;
Ok(())
}
nihilism is exhausting
async fn delete_substance(pool: &PgPool, cas_number: &str) -> Result<()> {
sqlx::query!("DELETE FROM substances WHERE cas_number = $1", cas_number)
.execute(pool)
.await?;
Ok(())
}
"Sometimes you eat the bear, and sometimes, well, he eats you."