An abstract query closed over its input arguments and yielding values of
type B
, without a specified disposition. Methods provided on Query0
allow the query to be interpreted as a stream or program in CollectionIO
.
Attributes
- Companion:
- object
- Source:
- query.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Query0[B]
Members list
Results
Program in ConnectionIO yielding an F[B]
accumulated via
MonadPlus
append. This method is more general but less efficient than
to
.
Program in ConnectionIO yielding an F[B]
accumulated via
MonadPlus
append. This method is more general but less efficient than
to
.
Attributes
- Source:
- query.scala
Program in ConnectionIO yielding a NonEmptyList[B]
and raising an
exception if the resultset does not have at least one row. See also
unique
.
Program in ConnectionIO yielding a NonEmptyList[B]
and raising an
exception if the resultset does not have at least one row. See also
unique
.
Attributes
- Source:
- query.scala
Program in ConnectionIO yielding an optional B
and raising an
exception if the resultset has more than one row. See also unique
.
Program in ConnectionIO yielding an optional B
and raising an
exception if the resultset has more than one row. See also unique
.
Attributes
- Source:
- query.scala
Stream
with default chunk factor, with effect type ConnectionIO
yielding elements of type B
.
Stream
with default chunk factor, with effect type ConnectionIO
yielding elements of type B
.
Attributes
- Source:
- query.scala
Stream
with given chunk factor, with effect type ConnectionIO
yielding elements of type B
.
Stream
with given chunk factor, with effect type ConnectionIO
yielding elements of type B
.
Attributes
- Source:
- query.scala
Program in ConnectionIO yielding an F[B]
accumulated via the
provided CanBuildFrom
. This is the fastest way to accumulate a
collection.
Program in ConnectionIO yielding an F[B]
accumulated via the
provided CanBuildFrom
. This is the fastest way to accumulate a
collection.
Attributes
- Source:
- query.scala
Apply the argument a
to construct a program in ConnectionIO
yielding an Map[(K, V)]
accumulated via the provided CanBuildFrom
.
This is the fastest way to accumulate a collection. this function can
call only when B is (K, V).
Apply the argument a
to construct a program in ConnectionIO
yielding an Map[(K, V)]
accumulated via the provided CanBuildFrom
.
This is the fastest way to accumulate a collection. this function can
call only when B is (K, V).
Attributes
- Source:
- query.scala
Program in ConnectionIO yielding a unique B
and raising an
exception if the resultset does not have exactly one row. See also
option
.
Program in ConnectionIO yielding a unique B
and raising an
exception if the resultset does not have exactly one row. See also
option
.
Attributes
- Source:
- query.scala
Diagnostics
Program to construct an analysis of this query's SQL statement and asserted parameter and column types.
Program to construct an analysis of this query's SQL statement and asserted parameter and column types.
Attributes
- Source:
- query.scala
Program to construct an inspection of the query. Calls f
with the SQL
representation of the query and a statement with all statement arguments
set. Returns the result of the ConnectionIO
program constructed.
Program to construct an inspection of the query. Calls f
with the SQL
representation of the query and a statement with all statement arguments
set. Returns the result of the ConnectionIO
program constructed.
Attributes
- Source:
- query.scala
Program to construct an analysis of this query's SQL statement and result set column types.
Program to construct an analysis of this query's SQL statement and result set column types.
Attributes
- Source:
- query.scala
An optional Pos
indicating the source location where this Query
was
constructed. This is used only for diagnostic purposes.
An optional Pos
indicating the source location where this Query
was
constructed. This is used only for diagnostic purposes.
Attributes
- Source:
- query.scala
The SQL string.
Transformations
Attributes
- Source:
- query.scala
Value members
Abstract methods
Convert this Query0 to a Fragment
.