You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reiz.database.base a BaseConnection class, which would host 2 main methods (maybe more) get_blocking_connection(), get_async_connection. It might host a pool inside maybe
reiz.database.edgeql that implements these methods
The text was updated successfully, but these errors were encountered:
isidentical
changed the title
reiz.edgeql: Wrap EdgeQLConnection objects
database: Wrap EdgeQLConnection objects
Jun 25, 2021
Since we separated EdgeDB-bound logic from the compiler/serializer, maybe we can do the same thing to the database connections.
reiz.database
package withget_connection(backend: str) -> BaseConnection
,connection: BaseConnection = get_connection(config.ir.backend)
reiz.database.base
aBaseConnection
class, which would host 2 main methods (maybe more)get_blocking_connection()
,get_async_connection
. It might host a pool inside maybereiz.database.edgeql
that implements these methodsThe text was updated successfully, but these errors were encountered: