create_database_engine#
- safir.database.create_database_engine(url, password, *, isolation_level=None)#
Create a new async database engine.
- Parameters:
- Returns:
Newly-created database engine. When done with the engine, the caller must call
await engine.dispose()
.- Return type:
- Raises:
ValueError – A password was provided but the connection URL has no username.