A Queryable that represents a part of a single database row. Queryable.Rows can be nested within other Queryables, but Queryables in general cannot. e.g.
-
Select[Int]
is valid becauseSelect[Q]
takes aQueryable.Row[Q]
, and there is aQueryable.Row[Int]
available -
Select[Select[Int]]
is invalid because although there is aQueryable[Select[Q]]
available, there is noQueryable.Row[Select[Q]]
, asSelect[Q]
returns multiple rows
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
-
Members list
Value members
Abstract methods
Takes the Scala-value of type R and converts it into a database-value of type Q, potentially representing multiple columns. Used for inserting Scala values into INSERT
or VALUES
clauses
Takes the Scala-value of type R and converts it into a database-value of type Q, potentially representing multiple columns. Used for inserting Scala values into INSERT
or VALUES
clauses
Attributes
Takes the Scala-value of type R and converts it into a database-value of type Q, potentially representing multiple columns. Used for inserting Scala values into INSERT
or VALUES
clauses
Takes the Scala-value of type R and converts it into a database-value of type Q, potentially representing multiple columns. Used for inserting Scala values into INSERT
or VALUES
clauses
Attributes
Concrete 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
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.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 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
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 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
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
Attributes
Inherited methods
Attributes
- Inherited from:
- Queryable
Attributes
- Inherited from:
- Queryable
Inherited and Abstract methods
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
- Inherited from:
- Queryable
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
- Inherited from:
- Queryable