pub fn validate_database_url_for_backend<B>(
database_url: &str,
) -> Result<(), SqlxDriverError>where
B: GatekeepSqlxBackend,Expand description
Validates that a database URL matches a selected backend.
ยงErrors
Returns SqlxDriverError when the URL is unsupported, names a disabled
driver, or names a different driver from B.