SubqueryColumn

case
class SubqueryColumn(col: SqlColumn, subquery: SqlSelect) extends SqlColumn

Representation of a scalar subquery

trait Serializable
trait Product
trait Equals
trait SqlColumn
class Object
trait Matchable
class Any

Value members

Concrete methods

def column: String
def pos: SourcePos
def scalaTypeName: String
def toDefFragment(collated: Boolean): Aliased[Fragment]
def toRefFragment(collated: Boolean): Aliased[Fragment]

Inherited methods

Derives a new column with a different owner with this column as underlying.

Derives a new column with a different owner with this column as underlying.

Used to represent columns on the outside of subqueries and common table expressions. Note that column aliases are tracked across derivation so that derived columns will continue to refer to the same underlying data irrespective of renaming.

Inherited from
SqlColumn
override
def equals(other: Any): Boolean

Equality on SqlColumns

Equality on SqlColumns

Two SqlColumns are equal if their underlyings have the same name and owner.

Definition Classes
SqlColumn -> Any
Inherited from
SqlColumn
override
def hashCode(): Int
Definition Classes
SqlColumn -> Any
Inherited from
SqlColumn
def in(other: ColumnOwner): SqlColumn

Yields a copy of this column in other

Yields a copy of this column in other

Only well defined if the move doesn't lose an owner name

Inherited from
SqlColumn
def isRef: Boolean

Is this column a reference to a column of a table

Is this column a reference to a column of a table

Inherited from
SqlColumn
def namedOwner: Option[TableExpr]

The named owner of this column, if any

The named owner of this column, if any

Inherited from
SqlColumn
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
override
def toString: String
Definition Classes
SqlColumn -> Any
Inherited from
SqlColumn
def toTerm: Term[Option[Unit]]

This column as a Term which can appear in a Predicate

This column as a Term which can appear in a Predicate

Inherited from
SqlColumn

If this column is derived, the column it was derived from, itself otherwise

If this column is derived, the column it was derived from, itself otherwise

Inherited from
SqlColumn