Function get

Source
pub fn get<T: SqlQuery + FromRow + SqlParams>(
    client: &mut Client,
    params: &T,
) -> Result<T, Error>
👎Deprecated since 0.2.0: Renamed to fetch. Please use fetch function instead.
Expand description

§get

Retrieves a single record from the database.

This function is deprecated. Please use fetch instead.