create_database_engine¶
- safir.database.create_database_engine(url: str, password: Optional[str], *, isolation_level: Optional[str] = None) sqlalchemy.ext.asyncio.engine.AsyncEngine ¶
Create a new async database engine.
- Parameters
- Returns
engine – Newly-created database engine. When done with the engine, the caller must call
await engine.dispose()
.- Return type