Results for “Std.Db.Driver.Client”
10 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Db.Driver.Client
A driver owns synchronization and closes admission before releasing its resources.
- Std.Db.Driver.close
&Std.Db.Driver.Client -> Result[(), Std.Db.Driver.Error]Close a client and the connections it holds.
- Std.Db.Driver.connect
&Array[Std.Db.Driver.Driver] -> Str -> Int -> Result[Std.Db.Driver.Client, Std.Db.Driver.Error]Open a client for a connection string, using the first driver that knows the scheme.
- Std.Db.Driver.execute
&Std.Db.Driver.Client -> Str -> Result[Std.Db.Driver.Rows, Std.Db.Driver.Error]Run a statement that carries no values.
- Std.Db.Driver.query
&Std.Db.Driver.Client -> Str -> &Array[Std.Db.Driver.Value] -> Result[Std.Db.Driver.Rows, Std.Db.Driver.Error]Run a statement with values bound to its placeholders.
- Std.Db.Driver.transaction
&Std.Db.Driver.Client -> fn(Std.Db.Driver.Tx) -> Result[Std.Db.Driver.Rows, Std.Db.Driver.Error] -> Result[Std.Db.Driver.Rows, Std.Db.Driver.Error]Run an action inside a transaction, on one connection, whichever backend
- Std.Db.Migrate.apply
&Std.Db.Driver.Client -> &Std.Db.Driver.Driver -> &Array[Std.Db.Migrate.Migration] -> Result[Int, Std.Db.Migrate.MigrationError]Bring the schema to what the program expects, through any driver.
- Std.Db.Postgres.connect
Str -> Int -> Result[Std.Db.Driver.Client, Std.Db.Driver.Error]Open a client on a PostgreSQL connection string.
- Std.Db.Sqlite.connect
Str -> Int -> Result[Std.Db.Driver.Client, Std.Db.Driver.Error]One serialized connection preserves a single database for :memory: clients.
- Std.Db.Store.through
&Std.Db.Driver.Client -> &Std.Db.Driver.Driver -> Std.Db.Store.TargetA target from a client and the driver that opened it.
