Typeclass to indicate that we are able to evaluate a query of type Q to return a result of type R. Involves two operations: flattening a structured query to a flat list of expressions via walkLabelsAndExprs, and reading a JSON-ish tree-shaped blob back into a return value via valueReader
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
Members list
Value members
Abstract methods
Construct a Scala return value from the Queryable.ResultSetIterator representing the return value of this queryable value
Construct a Scala return value from the Queryable.ResultSetIterator representing the return value of this queryable value
Attributes
Whether this queryable value is executed using java.sql.Statement.executeUpdate
instead of .executeQuery
. Note that this needs to be known ahead of time, and cannot be discovered by just calling .execute
, because some JDBC drivers do not properly handle updates in the .execute
call
Whether this queryable value is executed using java.sql.Statement.executeUpdate
instead of .executeQuery
. Note that this needs to be known ahead of time, and cannot be discovered by just calling .execute
, because some JDBC drivers do not properly handle updates in the .execute
call
Attributes
Whether this queryable value is executed using java.sql.Statement.getGeneratedKeys
instead of .executeQuery
.
Whether this queryable value is executed using java.sql.Statement.getGeneratedKeys
instead of .executeQuery
.
Attributes
Whether this query expects a single row to be returned, if so we can assert on the number of rows and raise an error if 0 rows or 2+ rows are present
Whether this query expects a single row to be returned, if so we can assert on the number of rows and raise an error if 0 rows or 2+ rows are present
Attributes
Returns a sequence of expressions created by this queryable value. Used to generate the column list SELECT
clauses, both for nested and top level SELECT
s
Returns a sequence of expressions created by this queryable value. Used to generate the column list SELECT
clauses, both for nested and top level SELECT
s
Attributes
Returns a sequence of labels, each represented by a list of tokens, representing the expressions created by this queryable value. Used to add AS foo_bar
labels to the generated queries, to aid in readability
Returns a sequence of labels, each represented by a list of tokens, representing the expressions created by this queryable value. Used to add AS foo_bar
labels to the generated queries, to aid in readability