Results for “Std.Db.pool”
7 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Db.Pool
A set of connections shared between threads.
- Std.Db.pool
&Std.Db.Session.Config -> Int -> Result[Std.Db.Pool, Std.Db.Session.DbError]A pool of open connections, shared between threads.
- Std.Db.ConnectionString.pool
Str -> Int -> Result[Std.Db.Pool, Std.Db.Session.DbError]Open a bounded pool from a connection URI.
- Std.Db.closePool
&Std.Db.Pool -> Result[(), Std.Db.Session.DbError]Close admission and every queued connection; borrowers close their own returns.
- Std.Db.transaction
&Std.Db.Pool -> fn(Std.Db.Session.Connection) -> (Result[T, Std.Db.Session.DbError], Std.Db.Session.Connection) -> Result[T, Std.Db.Session.DbError]Take a connection, run an action inside a transaction on it, and put it
- Std.Db.transactionWith
&Std.Db.Pool -> &Std.Db.Isolation -> fn(Std.Db.Session.Connection) -> (Result[T, Std.Db.Session.DbError], Std.Db.Session.Connection) -> Result[T, Std.Db.Session.DbError]The same, at a stated level of protection.
- Std.Db.withConnection
&Std.Db.Pool -> fn(Std.Db.Session.Connection) -> (Result[T, Std.Db.Session.DbError], Std.Db.Session.Connection) -> Result[T, Std.Db.Session.DbError]Take a connection, hand it to an action, and put it back however the action
