Class

slick.relational.RelationalTableComponent

Table

Related Doc: package RelationalTableComponent

Permalink

abstract class Table[T] extends AbstractTable[T]

Self Type
RelationalProfile.Table[T]
Source
RelationalProfile.scala
Linear Supertypes
AbstractTable[T], Rep[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Table
  2. AbstractTable
  3. Rep
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

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

    Permalink

Type Members

  1. final type TableElementType = T

    Permalink

    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]

    Permalink

    The * projection of the table used as default for queries and inserts.

    The * projection of the table used as default for queries and inserts. Should include all columns as a tuple, HList or custom shape and optionally map them to a custom entity type using the <> operator. The ProvenShape return 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: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from RelationalProfile.Table[T] to any2stringadd[RelationalProfile.Table[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RelationalProfile.Table[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from RelationalProfile.Table[T] to ArrowAssoc[RelationalProfile.Table[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. val O: RelationalProfile.columnOptions.type

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

    Permalink

    Note that Slick uses VARCHAR or VARCHAR(254) in DDL for String columns if neither ColumnOption DBType nor Length are given.

  11. def create_*: Iterable[FieldSymbol]

    Permalink
    Definition Classes
    AbstractTable
  12. def encodeRef(path: Node): AbstractTable[T]

    Permalink

    Encode a reference into this Rep.

    Encode a reference into this Rep.

    Definition Classes
    AbstractTableRep
  13. def ensuring(cond: (RelationalProfile.Table[T]) ⇒ Boolean, msg: ⇒ Any): RelationalProfile.Table[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from RelationalProfile.Table[T] to Ensuring[RelationalProfile.Table[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (RelationalProfile.Table[T]) ⇒ Boolean): RelationalProfile.Table[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from RelationalProfile.Table[T] to Ensuring[RelationalProfile.Table[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): RelationalProfile.Table[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from RelationalProfile.Table[T] to Ensuring[RelationalProfile.Table[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): RelationalProfile.Table[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from RelationalProfile.Table[T] to Ensuring[RelationalProfile.Table[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. 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[_ <: FlatShapeLevel, TT, U, _], unpackp: Shape[_ <: FlatShapeLevel, P, PU, _]): ForeignKeyQuery[TT, U]

    Permalink

    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
  21. final def foreignKeys: Iterable[ForeignKey]

    Permalink
    Definition Classes
    AbstractTable
  22. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from RelationalProfile.Table[T] to StringFormat[RelationalProfile.Table[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

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

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

    Permalink

    Define an index or a unique constraint.

    Define an index or a unique constraint.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

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

    Permalink

    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
  32. final def primaryKeys: Iterable[PrimaryKey]

    Permalink
    Definition Classes
    AbstractTable
  33. val schemaName: Option[String]

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

    Permalink
    Definition Classes
    AnyRef
  35. def tableConstraints: Iterator[Constraint]

    Permalink
    Definition Classes
    AbstractTable
  36. def tableIdentitySymbol: TableIdentitySymbol

    Permalink
    Definition Classes
    TableAbstractTable
  37. val tableName: String

    Permalink
    Definition Classes
    AbstractTable
  38. lazy val tableNode: TableNode

    Permalink
    Definition Classes
    AbstractTable
  39. def tableProvider: RelationalProfile

    Permalink
  40. val tableTag: Tag

    Permalink
    Definition Classes
    AbstractTable
  41. def toNode: Node

    Permalink

    Get the Node for this Rep.

    Get the Node for this Rep.

    Definition Classes
    AbstractTableRep
  42. def toString(): String

    Permalink
    Definition Classes
    Rep → AnyRef → Any
  43. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def [B](y: B): (RelationalProfile.Table[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from RelationalProfile.Table[T] to ArrowAssoc[RelationalProfile.Table[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AbstractTable[T]

Inherited from Rep[T]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from RelationalProfile.Table[T] to any2stringadd[RelationalProfile.Table[T]]

Inherited by implicit conversion StringFormat from RelationalProfile.Table[T] to StringFormat[RelationalProfile.Table[T]]

Inherited by implicit conversion Ensuring from RelationalProfile.Table[T] to Ensuring[RelationalProfile.Table[T]]

Inherited by implicit conversion ArrowAssoc from RelationalProfile.Table[T] to ArrowAssoc[RelationalProfile.Table[T]]

Ungrouped