Function ::exo::db::get_record

Overview
async fn get_record(value) -> Result

Get a single record from the database by it's uuid.

Example:

let record = exo::get_record()?;
let db_record = exo::db::get_record(record.uuid).await?;
assert_eq!(record.uuid, db_record.uuid);