NullColumn

case class NullColumn(owner: ColumnOwner, col: SqlColumn) extends SqlColumn

Representation of a synthetic null column

Primarily used to pad the disjuncts of an SqlUnion.

Source:
SqlMapping.scala
trait Serializable
trait Product
trait Equals
trait SqlColumn
class Object
trait Matchable
class Any

Value members

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
Source:
SqlMapping.scala
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
Source:
SqlMapping.scala
override def hashCode(): Int
Definition Classes
SqlColumn -> Any
Inherited from:
SqlColumn
Source:
SqlMapping.scala
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
Source:
SqlMapping.scala

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
Source:
SqlMapping.scala

The named owner of this column, if any

The named owner of this column, if any

Inherited from:
SqlColumn
Source:
SqlMapping.scala
Inherited from:
Product
override def toString: String
Definition Classes
SqlColumn -> Any
Inherited from:
SqlColumn
Source:
SqlMapping.scala

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
Source:
SqlMapping.scala