Skip to main content

one

Function one 

Source
pub fn one<R: QueryElement>(
    entry: &ViewEntry,
    name: &str,
) -> Result<Option<Box<R>>, ZeroValueError>
Expand description

A one relationship of a row, for generated from_entrys: None when the query didn’t ask for it or no row matches.