-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Since we separated EdgeDB-bound logic from the compiler/serializer, maybe we can do the same thing to the database connections.
- Introducing
reiz.databasepackage withget_connection(backend: str) -> BaseConnection,connection: BaseConnection = get_connection(config.ir.backend)reiz.database.baseaBaseConnectionclass, which would host 2 main methods (maybe more)get_blocking_connection(),get_async_connection. It might host a pool inside maybereiz.database.edgeqlthat implements these methods
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels