scala.slick.profile.RelationalTableComponent

Table

abstract class Table[T] extends AbstractTable[T]

Self Type
RelationalDriver.Table[T]
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Table
  2. AbstractTable
  3. ColumnBase
  4. Rep
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Table(_tableTag: Tag, _tableName: String)

  2. new Table(_tableTag: Tag, _schemaName: Option[String], _tableName: String)

Type Members

  1. final type TableElementType = T

    The client-side type of the table as defined by its * projection

    The client-side type of the table as defined by its * projection

    Definition Classes
    TableAbstractTable

Abstract Value Members

  1. abstract def *: ProvenShape[T]

    The default projection of the table.

    The default projection of the table. This defines the type you get when you return a table row from a Query. The ProvenShape type ensures that there is a Shape available for translating between the Column-based type in * and the client-side type without Column in the table's type parameter.

    Definition Classes
    AbstractTable

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val O: RelationalDriver.columnOptions.type

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def collectFieldSymbols(n: Node): Iterable[FieldSymbol]

    Attributes
    protected[this]
    Definition Classes
    AbstractTable
  10. def column[C](n: String, options: ColumnOption[C]*)(implicit tm: TypedType[C]): Column[C]

  11. def create_*: Iterable[FieldSymbol]

    Definition Classes
    AbstractTable
  12. def encodeRef(path: List[ast.Symbol]): AbstractTable[T]

    Encode a reference into this Rep

    Encode a reference into this Rep

    Definition Classes
    AbstractTableRep
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def foreignKey[P, PU, TT <: AbstractTable[_], U](name: String, sourceColumns: P, targetTableQuery: TableQuery[TT, _])(targetColumns: (TT) ⇒ P, onUpdate: ForeignKeyAction = ForeignKeyAction.NoAction, onDelete: ForeignKeyAction = ForeignKeyAction.NoAction)(implicit unpack: Shape[_ <: Flat, TT, U, _], unpackp: Shape[_ <: Flat, P, PU, _]): ForeignKeyQuery[TT, U]

    Define a foreign key relationship.

    Define a foreign key relationship.

    name

    The name of the foreign key in the database (only used when you define the database schema with Slick).

    sourceColumns

    A column or a projection of multiple columns from this table defining the source of the foreign key.

    targetTableQuery

    The TableQuery for the target table.

    targetColumns

    A function that maps from the target table to the column (or columns) to which the foreign key points.

    onUpdate

    A ForeignKeyAction, default being NoAction.

    onDelete

    A ForeignKeyAction, default being NoAction.

    Definition Classes
    AbstractTable
  17. final def foreignKeys: Iterable[ForeignKey]

    Definition Classes
    AbstractTable
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. def index[T](name: String, on: T, unique: Boolean = false)(implicit shape: Shape[_ <: Flat, T, _, _]): Index

    Define an index or a unique constraint.

    Define an index or a unique constraint.

    Definition Classes
    AbstractTable
  21. def indexes: Iterable[Index]

    Definition Classes
    AbstractTable
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def primaryKey[T](name: String, sourceColumns: T)(implicit shape: Shape[_ <: Flat, T, _, _]): PrimaryKey

    Define the primary key for this table.

    Define the primary key for this table. It is usually simpler to use the O.PrimaryKey option on the primary key column but this method allows you to define compound primary keys or give them user-defined names (when defining the database schema with Slick).

    Definition Classes
    AbstractTable
  27. final def primaryKeys: Iterable[PrimaryKey]

    Definition Classes
    AbstractTable
  28. val schemaName: Option[String]

    Definition Classes
    AbstractTable
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def tableConstraints: Iterator[Constraint]

    Definition Classes
    AbstractTable
  31. def tableIdentitySymbol: TableIdentitySymbol

    Definition Classes
    TableAbstractTable
  32. val tableName: String

    Definition Classes
    AbstractTable
  33. lazy val tableNode: TableNode

    Definition Classes
    AbstractTable
  34. def tableProvider: RelationalDriver

  35. val tableTag: Tag

    Definition Classes
    AbstractTable
  36. def toNode: Node

    Get the Node for this Rep

    Get the Node for this Rep

    Definition Classes
    AbstractTableRep
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AbstractTable[T]

Inherited from ColumnBase[T]

Inherited from Rep[T]

Inherited from AnyRef

Inherited from Any

Ungrouped