pub async fn get_all<T>(client: &Client, params: T) -> Result<Vec<T>, Error>👎Deprecated since 0.2.0: Renamed to
fetch_all. Please use fetch_all function instead.Expand description
§get_all
Retrieves multiple records from the database.
§Deprecated
This function has been renamed to fetch_all. Please use fetch_all instead.
§Arguments
client- Database connection clientparams- Query parameters (must implement SqlQuery, FromRow, and SqlParams traits)
§Return Value
Result<Vec<T>, Error>- On success, returns the list of found records; on failure, returns Error