rustauth-sqlx 0.2.0

SQLx database adapters for RustAuth.
Documentation
1
2
3
4
5
6
use rustauth_core::db::SqlDialect;
use rustauth_core::error::RustAuthError;

pub(super) fn sanitize_identifier(identifier: &str) -> Result<String, RustAuthError> {
    SqlDialect::Postgres.sanitize_identifier(identifier)
}