scalasql.query.WithCte.Proxy
class Proxy [Q , R ](lhs : Select [Q , R ], lhsSubQueryRef : WithCteRef , val qr : Row [Q , R ], val dialect : DialectTypeMappers ) extends Proxy [Q , R ]
Attributes
Graph
Reset zoom Hide graph Show graph
Supertypes
trait Aggregatable [Q ]
trait WithSqlExpr [Q ]
trait Renderable
class Object
trait Matchable
class Any
Show all
Members list
Attributes
Definition Classes
Attributes
Definition Classes
Performs one or more aggregates in a single Select
Performs one or more aggregates in a single Select
Attributes
Definition Classes
Inherited from:
Proxy
Attributes
Definition Classes
Inherited from:
Proxy
Combined with sortBy to make the sort order ascending, translates into SQL ASC
Combined with sortBy to make the sort order ascending, translates into SQL ASC
Attributes
Definition Classes
Inherited from:
Proxy
Attributes
Definition Classes
Inherited from:
Proxy
Returns whether or not the Select on the left contains the other value on the right
Returns whether or not the Select on the left contains the other value on the right
Attributes
Inherited from:
Select
Performs a CROSS JOIN
, which is an INNER JOIN
but without the ON
clause
Performs a CROSS JOIN
, which is an INNER JOIN
but without the ON
clause
Attributes
Inherited from:
JoinOps
Version of crossJoin
meant for usage in for
-comprehensions
Version of crossJoin
meant for usage in for
-comprehensions
Attributes
Inherited from:
Joinable
Combined with sortBy to make the sort order descending, translates into SQL DESC
Combined with sortBy to make the sort order descending, translates into SQL DESC
Attributes
Definition Classes
Inherited from:
Proxy
Causes this Select to ignore duplicate rows, translates into SQL SELECT DISTINCT
Causes this Select to ignore duplicate rows, translates into SQL SELECT DISTINCT
Attributes
Inherited from:
Select
Drops the first n rows from this Select . Like when used in Scala collections, if called multiple times the dropped rows add up
Drops the first n rows from this Select . Like when used in Scala collections, if called multiple times the dropped rows add up
Attributes
Definition Classes
Inherited from:
Proxy
Subtracts the other from this Select , returning only rows present this but absent in other , and removing duplicates. Translates into SQL EXCEPT
Subtracts the other from this Select , returning only rows present this but absent in other , and removing duplicates. Translates into SQL EXCEPT
Attributes
Inherited from:
Select
Attributes
Definition Classes
Inherited from:
Proxy
Filters this Select with the given predicate, translates into a SQL WHERE
clause
Filters this Select with the given predicate, translates into a SQL WHERE
clause
Attributes
Definition Classes
Inherited from:
Proxy
Filters this Select with the given predicate, if cond evaluates to true
Filters this Select with the given predicate, if cond evaluates to true
Attributes
Definition Classes
Inherited from:
Proxy
Filters this Select with the given predicate consuming provided option as a part of predicate's input, if this option is Some[T]
Filters this Select with the given predicate consuming provided option as a part of predicate's input, if this option is Some[T]
Attributes
Definition Classes
Inherited from:
Proxy
Performs an implicit JOIN
between this Select and the one returned by the callback function f
Performs an implicit JOIN
between this Select and the one returned by the callback function f
Attributes
Definition Classes
Inherited from:
Proxy
Translates into a SQL GROUP BY
, takes a function specifying the group-key and a function specifying the group-aggregate.
Translates into a SQL GROUP BY
, takes a function specifying the group-key and a function specifying the group-aggregate.
Attributes
Definition Classes
Inherited from:
Proxy
Shorthand for .take(1).single
:
Shorthand for .take(1).single
:
If the query returns a single row, this returns it as a single value of type R
If the query returns multiple rows, returns the first as a single value of type R and discards the rest
If the query returns zero rows, throws an exception.
Attributes
Inherited from:
Select
Intersects the result rows of this Select with another, preserving only rows present in both this and the other and removing duplicates. Translates into SQL INTERSECT
Intersects the result rows of this Select with another, preserving only rows present in both this and the other and removing duplicates. Translates into SQL INTERSECT
Attributes
Inherited from:
Select
Returns whether or not the Select on the left is empty with zero elements
Returns whether or not the Select on the left is empty with zero elements
Attributes
Inherited from:
Select
Performs a JOIN
/INNER JOIN
on the given other , typically a Table or Select .
Performs a JOIN
/INNER JOIN
on the given other , typically a Table or Select .
Attributes
Inherited from:
JoinOps
Version of join
meant for usage in for
-comprehensions
Version of join
meant for usage in for
-comprehensions
Attributes
Inherited from:
Joinable
Attributes
Definition Classes
Inherited from:
Proxy
Performs a LEFT JOIN
on the given other , typically a Table or Select .
Performs a LEFT JOIN
on the given other , typically a Table or Select .
Attributes
Definition Classes
Inherited from:
Proxy
Version of leftJoin
meant for usage in for
-comprehensions
Version of leftJoin
meant for usage in for
-comprehensions
Attributes
Inherited from:
Joinable
Transforms the return value of this Select with the given function
Transforms the return value of this Select with the given function
Attributes
Definition Classes
Inherited from:
Proxy
Performs a .map
which additionally provides a Aggregatable.Proxy that allows you to perform aggregate functions.
Performs a .map
which additionally provides a Aggregatable.Proxy that allows you to perform aggregate functions.
Attributes
Definition Classes
Inherited from:
Proxy
Returns whether or not the Select on the left is nonempty with one or more elements
Returns whether or not the Select on the left is nonempty with one or more elements
Attributes
Inherited from:
Select
Combined with sortBy to configure handling of nulls, translates into SQL NULLS FIRST
Combined with sortBy to configure handling of nulls, translates into SQL NULLS FIRST
Attributes
Definition Classes
Inherited from:
Proxy
Combined with sortBy to configure handling of nulls, translates into SQL NULLS LAST
Combined with sortBy to configure handling of nulls, translates into SQL NULLS LAST
Attributes
Definition Classes
Inherited from:
Proxy
Performs a OUTER JOIN
on the given other , typically a Table or Select .
Performs a OUTER JOIN
on the given other , typically a Table or Select .
Attributes
Definition Classes
Inherited from:
Proxy
Attributes
Definition Classes
Inherited from:
Proxy
Performs a RIGHT JOIN
on the given other , typically a Table or Select .
Performs a RIGHT JOIN
on the given other , typically a Table or Select .
Attributes
Definition Classes
Inherited from:
Proxy
Attributes
Definition Classes
Inherited from:
Proxy
Attributes
Definition Classes
Inherited from:
Proxy
Attributes
Definition Classes
Inherited from:
Proxy
Asserts that this query returns exactly one row, and returns a single value of type R rather than a Seq[R]
. Throws an exception if zero or multiple rows are returned.
Asserts that this query returns exactly one row, and returns a single value of type R rather than a Seq[R]
. Throws an exception if zero or multiple rows are returned.
Attributes
Inherited from:
Select
Sorts this Select via the given expression. Translates into a SQL ORDER BY
clause. Can be called more than once to sort on multiple columns, with the last call to sortBy taking priority. Can be followed by asc , desc , nullsFirst or nullsLast to configure the sort order
Sorts this Select via the given expression. Translates into a SQL ORDER BY
clause. Can be called more than once to sort on multiple columns, with the last call to sortBy taking priority. Can be followed by asc , desc , nullsFirst or nullsLast to configure the sort order
Attributes
Definition Classes
Inherited from:
Proxy
Forces this Select to be treated as a subquery that any further operations will operate on, rather than having some operations flattened out into clauses in this Select
Forces this Select to be treated as a subquery that any further operations will operate on, rather than having some operations flattened out into clauses in this Select
Attributes
Inherited from:
Select
Only returns the first n rows from this Select . Like when used in Scala collections, if called multiple times only the smallest value of n takes effect
Only returns the first n rows from this Select . Like when used in Scala collections, if called multiple times only the smallest value of n takes effect
Attributes
Definition Classes
Inherited from:
Proxy
Converts this Select into an Expr , assuming it returns a single row and a single column. Note that if this returns multiple rows, behavior is database-specific, with some like Sqlite simply taking the first row while others like Postgres/MySql throwing exceptions
Converts this Select into an Expr , assuming it returns a single row and a single column. Note that if this returns multiple rows, behavior is database-specific, with some like Sqlite simply taking the first row while others like Postgres/MySql throwing exceptions
Attributes
Inherited from:
Select
Concatenates the result rows of this Select with another and removes duplicate rows; translates into SQL UNION
Concatenates the result rows of this Select with another and removes duplicate rows; translates into SQL UNION
Attributes
Inherited from:
Select
Concatenates the result rows of this Select with another; translates into SQL UNION ALL
Concatenates the result rows of this Select with another; translates into SQL UNION ALL
Attributes
Inherited from:
Select
Attributes
Inherited from:
Select