org.virtuslab.unicorn.Tables

JunctionTable

Related Doc: package Tables

abstract class JunctionTable[First, Second] extends slick.driver.JdbcProfile.API.Table[(First, Second)]

Base table for simple linking between two values

First

type of one entity

Second

type of other entity

Linear Supertypes
slick.driver.JdbcProfile.Table[(First, Second)], AbstractTable[(First, Second)], Rep[(First, Second)], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JunctionTable
  2. Table
  3. AbstractTable
  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 JunctionTable(tag: slick.driver.JdbcProfile.API.Tag, tableName: String)(implicit arg0: slick.driver.JdbcProfile.API.BaseColumnType[First], arg1: slick.driver.JdbcProfile.API.BaseColumnType[Second])

    Auxiliary constructor without schema name.

    Auxiliary constructor without schema name.

    tableName

    name of table

  2. new JunctionTable(tag: slick.driver.JdbcProfile.API.Tag, schemaName: Option[String], tableName: String)(implicit arg0: slick.driver.JdbcProfile.API.BaseColumnType[First], arg1: slick.driver.JdbcProfile.API.BaseColumnType[Second])

    schemaName

    name of schema (optional)

    tableName

    name of the table

Type Members

  1. final type TableElementType = (First, Second)

    Definition Classes
    Table → AbstractTable

Abstract Value Members

  1. abstract def columns: (slick.driver.JdbcProfile.API.Rep[First], slick.driver.JdbcProfile.API.Rep[Second])

    instead of def * = colA ~ colB write def columns = colA -> colB

    instead of def * = colA ~ colB write def columns = colA -> colB

    returns

Concrete Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. final def *: ProvenShape[(First, Second)]

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

    Definition Classes
    AnyRef → Any
  5. val O: slick.driver.JdbcProfile.columnOptions.type

    Definition Classes
    Table
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

    Definition Classes
    Table
  10. def create_*: Iterable[FieldSymbol]

    Definition Classes
    AbstractTable
  11. def encodeRef(path: Node): AbstractTable[(First, Second)]

    Definition Classes
    AbstractTable → Rep
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    name of schema (optional)

    name of schema (optional)

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

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

    Definition Classes
    AbstractTable
  30. def tableIdentitySymbol: TableIdentitySymbol

    Definition Classes
    Table → AbstractTable
  31. val tableName: String

    name of the table

    name of the table

    Definition Classes
    AbstractTable
  32. lazy val tableNode: TableNode

    Definition Classes
    AbstractTable
  33. def tableProvider: RelationalDriver

    Definition Classes
    Table
  34. val tableTag: Tag

    Definition Classes
    AbstractTable
  35. def toNode: Node

    Definition Classes
    AbstractTable → Rep
  36. def toString(): String

    Definition Classes
    Rep → AnyRef → Any
  37. final def uniqueValues: Index

  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 slick.driver.JdbcProfile.Table[(First, Second)]

Inherited from AbstractTable[(First, Second)]

Inherited from Rep[(First, Second)]

Inherited from AnyRef

Inherited from Any

Ungrouped