pub async fn get_all<T: SqlQuery<T> + FromRow + SqlParams>(
pool: &Pool,
params: &T,
) -> Result<Vec<T>, Error>
👎Deprecated since 0.2.0: Renamed to
fetch_all
. Please use fetch_all
function instead.