pub fn register_account(
adapter: &dyn DatabaseOperations,
config: &DbBackendConfig,
schema: &AppSchema,
username: &str,
email: &str,
password_hash: &str,
) -> Result<i64, DatabaseError>Expand description
Creates a customer account and its profile in one configured-backend transaction.