Function backend::service::application_settings::find_by_key
source · pub async fn find_by_key(
key: &str,
conn: &mut AsyncPgConnection,
) -> Result<ApplicationSettingDto, ServiceError>
Expand description
Find an application setting by key
§Errors
If the connection to the database could not be established.
If no application setting with the key key
exists.