Function delete
Source pub async fn delete(db: &DB, raw: &str)
Expand description
Deletes a user by ID from the database.
§Arguments
db - A reference to the database connection.
raw - A string slice containing the user ID to delete.
§Example
#[tokio::main]
async fn main() {
let db = DB::new("sqlite:memory:").await.unwrap();
delete(&db, "user_id").await;
}