Function ::exo::db::delete_record

Overview
async fn delete_record(value: String) -> Result

Delete a record from the database.

Example:

exo::db::set_sudo(true);
let model = exo::get_model()?;
let record = model.new_record();
let record = exo::db::insert_record(record).await?;
exo::db::delete_record(record.uuid).await;