Results for “Std.Db.Driver.Value”
28 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Db.Driver.Value
Values retain their kind across the driver boundary; drivers bind them separately.
- Std.App.Database.query
&Std.App.Database.Database -> Str -> &Array[Std.Db.Driver.Value] -> Result[Std.Db.Driver.Rows, Std.Db.Driver.Error]SQL and placeholders follow the selected driver; values are always separate.
- Std.App.Database.queryAll
&Std.App.Database.Database -> Str -> &Array[Std.Db.Driver.Value] -> fn(Std.Db.Driver.Rows, Int) -> Result[T, Std.Db.Row.RowError] -> Result[Array[T], Std.App.Database.QueryError]Every row a query answered, each read by the mapper.
- Std.App.Database.queryOne
&Std.App.Database.Database -> Str -> &Array[Std.Db.Driver.Value] -> fn(Std.Db.Driver.Rows, Int) -> Result[T, Std.Db.Row.RowError] -> Result[T, Std.App.Database.QueryError]The single row a query answered, or an error when it answered none or several.
- Std.App.Database.queryOptional
&Std.App.Database.Database -> Str -> &Array[Std.Db.Driver.Value] -> fn(Std.Db.Driver.Rows, Int) -> Result[T, Std.Db.Row.RowError] -> Result[Option[T], Std.App.Database.QueryError]The one row a query answered, or nothing.
- Std.Db.Driver.ask
&Std.Db.Driver.Tx -> Str -> &Array[Std.Db.Driver.Value] -> Result[Std.Db.Driver.Rows, Std.Db.Driver.Error]Ask a transaction's own connection, rather than the pool.
- 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.Query.Shape.isAmong
Str -> &Array[Std.Db.Driver.Value] -> Std.Db.Query.Shape.ConditionThe same, where each value carries its own type.
- Std.Db.Query.Shape.isBound
Str -> Str -> Std.Db.Driver.Value -> Std.Db.Query.Shape.ConditionA column compared against a value that carries its own type.
- Std.Db.Query.absent
Std.Db.Driver.ValueA value that is absent.
- Std.Db.Query.also
&Std.Db.Query.Statement -> Str -> Str -> Std.Db.Driver.Value -> Result[Std.Db.Query.Statement, Std.Db.Query.QueryError]A further condition that must also hold.
- Std.Db.Query.either
&Std.Db.Query.Statement -> Str -> Str -> Std.Db.Driver.Value -> Result[Std.Db.Query.Statement, Std.Db.Query.QueryError]A further condition where either may hold.
- Std.Db.Query.flag
Bool -> Std.Db.Driver.ValueA value that is true or false.
- Std.Db.Query.insert
Str -> &Array[Str] -> &Array[Std.Db.Driver.Value] -> Result[Std.Db.Query.Statement, Std.Db.Query.QueryError]A row added to a table, from the columns and the values that fill them.
- Std.Db.Query.matching
&Std.Db.Query.Statement -> Str -> Str -> Std.Db.Driver.Value -> Result[Std.Db.Query.Statement, Std.Db.Query.QueryError]A condition on a column, with the value travelling beside the statement.
- Std.Db.Query.matchingOneOf
&Std.Db.Query.Statement -> Str -> &Array[Std.Db.Driver.Value] -> Result[Std.Db.Query.Statement, Std.Db.Query.QueryError]A condition that a column is one of several values.
- Std.Db.Query.maybeText
Option[Str] -> Std.Db.Driver.ValueText, or its absence.
- Std.Db.Query.raw
Str -> &Array[Std.Db.Driver.Value] -> Std.Db.Query.StatementA statement written out in full, with its values beside it.
- Std.Db.Query.textValue
Str -> Std.Db.Driver.ValueA value that is text.
- Std.Db.Query.update
Str -> &Array[Str] -> &Array[Std.Db.Driver.Value] -> Result[Std.Db.Query.Statement, Std.Db.Query.QueryError]Columns of a table set to new values.
- Std.Db.Query.valuesOf
&Std.Db.Query.Statement -> Array[Std.Db.Driver.Value]The values that travel beside it.
- Std.Db.Query.whole
Int -> Std.Db.Driver.ValueA value that is a whole number, so a numeric comparison is a numeric one.
- Std.Db.Query.withValue
&Std.Db.Query.Statement -> Str -> Std.Db.Driver.Value -> Std.Db.Query.StatementA statement with one more piece of text and one more value.
- Std.Db.Row.at
&Std.Db.Driver.Rows -> Int -> Int -> Result[Std.Db.Driver.Value, Std.Db.Row.RowError]The value at a row and column, both counted from zero.
- Std.Db.Row.nullable
&Std.Db.Driver.Rows -> Int -> Str -> Result[Option[Std.Db.Driver.Value], Std.Db.Row.RowError]None means a present SQL NULL, never a missing column or malformed row.
- Std.Db.Row.value
&Std.Db.Driver.Rows -> Int -> Str -> Result[Std.Db.Driver.Value, Std.Db.Row.RowError]The value in a named column of a row, whatever its kind.
- Std.Db.Schema.boundValue
&T -> Std.Db.Driver.Value where T: BindableA value as the parameter it becomes.
- Std.Db.Schema.nothing
Std.Db.Driver.ValueNothing, for a column that is being set to hold nothing.
