An optional Pos
indicating the source location where this Query
was
constructed.
An optional Pos
indicating the source location where this Query
was
constructed. This is used only for diagnostic purposes.
The SQL string.
Apply the argument a
to construct a program in
ConnectionIO
yielding an F[B]
accumulated
via MonadPlus
append.
Apply the argument a
to construct a program in
ConnectionIO
yielding an F[B]
accumulated
via MonadPlus
append. This method is more general but less efficient than to
.
Program to construct an analysis of this query's SQL statement and asserted parameter and column types.
Apply the argument a
to construct a program in
ConnectionIO
yielding an NonEmptyList[B]
and
raising an exception if the resultset does not have at least one row.
Apply the argument a
to construct a program in
ConnectionIO
yielding an NonEmptyList[B]
and
raising an exception if the resultset does not have at least one row. See also unique
.
Apply the argument a
to construct a program in
ConnectionIO
yielding an optional B
and
raising an exception if the resultset has more than one row.
Apply the argument a
to construct a program in
ConnectionIO
yielding an optional B
and
raising an exception if the resultset has more than one row. See also unique
.
Program to construct an analysis of this query's SQL statement and result set column types.
Apply the argument a
to construct a Stream
with DefaultChunkSize
, with
effect type ConnectionIO
yielding elements of
type B
.
Apply the argument a
to construct a Stream
with the given chunking factor, with
effect type ConnectionIO
yielding elements of
type B
.
Apply the argument a
to construct a program in
ConnectionIO
yielding an F[B]
accumulated
via the provided CanBuildFrom
.
Apply the argument a
to construct a program in
ConnectionIO
yielding an F[B]
accumulated
via the provided CanBuildFrom
. This is the fastest way to accumulate a collection.
Turn this Query
into a Fragment
, given an argument.
Apply an argument, yielding a residual Query0
.
Apply an argument, yielding a residual Query0
.
Apply the argument a
to construct a program in
ConnectionIO
yielding a unique B
and
raising an exception if the resultset does not have exactly one row.
Apply the argument a
to construct a program in
ConnectionIO
yielding a unique B
and
raising an exception if the resultset does not have exactly one row. See also option
.
A query parameterized by some input type
A
yielding values of typeB
. We define here the core operations that are needed. Additional operations are provided onQuery0
which is the residual query after applying anA
. This is the type constructed by thesql
interpolator.