SqlColumn

trait SqlColumn

Trait representing an SQL column

Companion:
object
Source:
SqlMapping.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

def pos: SourcePos

Yields a copy of this column with all occurences of from replaced by to

Yields a copy of this column with all occurences of from replaced by to

Source:
SqlMapping.scala

Render a defining occurence of this SqlColumn

Render a defining occurence of this SqlColumn

Source:
SqlMapping.scala

Render a reference to this SqlColumn

Render a reference to this SqlColumn

Source:
SqlMapping.scala

Concrete 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.

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

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

Source:
SqlMapping.scala

The named owner of this column, if any

The named owner of this column, if any

Source:
SqlMapping.scala
override def toString: String
Definition Classes
Any
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

Source:
SqlMapping.scala

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

Source:
SqlMapping.scala