Skip to main content

ensure_system_value_if_missing

Function ensure_system_value_if_missing 

Source
pub async fn ensure_system_value_if_missing<C: ConnectionTrait>(
    db: &C,
    registry: &'static ConfigRegistry,
    key: &str,
    value: &str,
) -> Result<bool>
Expand description

Inserts one system value if no row exists.