pub async fn config_on(
conn: &mut PgConnection,
field: &str,
) -> Result<Option<ConfigOption>, ConfigError>Expand description
Reads a config field on the given connection: the config (string) table
first, falling back to configdata (blob).
ยงErrors
ConfigError::DB on a database error.