SQLRecordManager(
self,
namespace: str,
*,
engine: Engine | AsyncEngine | | Name | Type | Description |
|---|---|---|
namespace* | str | The namespace associated with this record manager. |
engine | Engine | AsyncEngine | None | Default: NoneAn already existing SQL Alchemy engine. |
db_url | None | str | URL | Default: NoneA database connection string used to create an SQL Alchemy engine. |
engine_kwargs | dict[str, Any] | None | Default: None |
async_mode | bool | Default: False |
A SQL Alchemy based implementation of the record manager.
Additional keyword arguments to be passed when creating the engine.
Whether to create an async engine. Driver should support async
operations. It only applies if db_url is provided.