Skip to main content

get_by_path

Function get_by_path 

Source
pub async fn get_by_path<'e, E>(
    ex: E,
    path: &str,
) -> Result<Option<Media>, Error>
where E: Executor<'e, Database = Sqlite>,
Expand description

The row at path, if one exists. media.path is unique.