Skip to main content

fetch

Function fetch 

Source
pub async fn fetch(pool: &Pool, id: i64) -> Result<Option<TagGroup>, Error>
Expand description

Look up a tag_group row by id. Returns Ok(None) when no row matches (typically only happens if the caller raced a DELETE from the parent tags cascade).