Skip to main content

connect_with_prefix

Function connect_with_prefix 

Source
pub async fn connect_with_prefix(
    url: &str,
    prefix: &str,
) -> Result<SqlStore, DbError>
Expand description

connect, with every table and index name starting with prefix in place of rl_, so two apps sharing one database each keep a set of their own: up to 32 letters, digits, and underscores, not starting with a digit.