Std.Db.Query.Shape
39 public declarations
- ascending
Str -> Std.Db.Query.Shape.OrderingRows ordered by a column, with the ones holding nothing last.
- Bound
How much of a result is wanted. Nothing for either means all of it.
- Condition
One condition, on a row or on a group.
- crossJoin
Str -> Std.Db.Query.Shape.JoinEvery row of one table beside every row of another.
- descending
Str -> Std.Db.Query.Shape.OrderingThe same, largest first.
- everything
Std.Db.Query.Shape.SelectedEverything, which names nothing and so needs no checking.
- everythingFrom
Str -> Std.Db.Query.Shape.SelectEverything from a table, which is the smallest query there is.
- first
Int -> Std.Db.Query.Shape.BoundAt most this many rows.
- fullJoin
Str -> Str -> Str -> Std.Db.Query.Shape.JoinThe same, keeping the rows of both that match nothing.
- howMany
Std.Db.Query.Shape.SelectedHow many rows there are.
- inner
Str -> Str -> Str -> Std.Db.Query.Shape.JoinA table joined where two columns agree.
- is
Str -> Str -> Str -> Std.Db.Query.Shape.ConditionA column compared against text, which travels as a parameter.
- isAmong
Str -> &Array[Std.Db.Driver.Value] -> Std.Db.Query.Shape.ConditionThe same, where each value carries its own type.
- isBound
Str -> Str -> Std.Db.Driver.Value -> Std.Db.Query.Shape.ConditionA column compared against a value that carries its own type.
- isMissing
Str -> Std.Db.Query.Shape.ConditionA column holding nothing.
- isNumber
Str -> Str -> Int -> Std.Db.Query.Shape.ConditionA column compared against a whole number, which crosses as one.
- isOneOf
Str -> &Array[Option[Str]] -> Std.Db.Query.Shape.ConditionA column that is one of several values, each its own parameter, so a list
- isPresent
Str -> Std.Db.Query.Shape.ConditionA column holding something.
- isValue
Str -> Str -> Option[Str] -> Std.Db.Query.Shape.ConditionThe same, where the value may be absent.
- Join
A table put beside the one a statement reads from.
- Joining
How two tables are put beside one another.
- joinOn
Std.Db.Query.Shape.Joining -> &Std.Db.Schema.Column[K] -> &Std.Db.Schema.Column[K] -> Std.Db.Query.Shape.JoinA join on two columns whose types must agree, so joining a column of text
- leftJoin
Str -> Str -> Str -> Std.Db.Query.Shape.JoinThe same, keeping rows of the first table that match nothing.
- Locking
Whether the rows a statement reads are held for this transaction.
- ordered
Str -> Bool -> Bool -> Std.Db.Query.Shape.OrderingThe same, saying where the rows holding nothing go.
- Ordering
One column a result is ordered by, and where the rows holding nothing go.
- over
Str -> Str -> Std.Db.Query.Shape.SelectedAn aggregate over a column.
- page
Int -> Int -> Std.Db.Query.Shape.BoundOne page of a result.
- pick
Str -> Std.Db.Query.Shape.SelectedA column a statement answers with.
- qualifiedName
Str -> Result[Str, Std.Db.Query.QueryError]A name that may carry the table it belongs to.
- Refining
A query with one part changed, each answering the query rather than taking
- rightJoin
Str -> Str -> Str -> Std.Db.Query.Shape.JoinThe same, the other way about.
- select
&Std.Db.Query.Shape.Select -> Result[Std.Db.Query.Statement, Std.Db.Query.QueryError]A whole query as a statement, or the first thing wrong with it.
- Select
A whole query, written as one value.
- Selected
One thing a statement answers with.
- selectedText
&Std.Db.Query.Shape.Selected -> StrHow one of them is written.
- Test
What a condition asks.
- unbounded
Std.Db.Query.Shape.BoundAll of a result.
- under
&Std.Db.Query.Shape.Selected -> Str -> Std.Db.Query.Shape.SelectedThe same thing, answering under a name of its own.
