abstract class BaseView[Id, Entity] extends unicorn.UnicornPlay.BaseTable[Entity]
- Id
entity id type
- Entity
entity type
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- BaseView
- BaseTable
- CustomTypeMappers
- Table
- AbstractTable
- Rep
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new BaseView(tag: slick.jdbc.JdbcProfile.API.Tag, viewName: String)(implicit arg0: TypedType[Id])
- viewName
name of view
Type Members
- final type TableElementType = Entity
- Definition Classes
- Table → AbstractTable
Abstract Value Members
- abstract def *: ProvenShape[Entity]
- Definition Classes
- AbstractTable
- abstract val columns: Seq[(String, (BaseView.this.type) => slick.jdbc.JdbcProfile.API.Rep[_])]
- Attributes
- protected
- abstract def id: slick.jdbc.JdbcProfile.API.Rep[Id]
column that is tread as view 'id' - it is use eg.
column that is tread as view 'id' - it is use eg. for default sort
- abstract def query: slick.jdbc.JdbcProfile.API.Query[_, Entity, Seq]
query that build this view
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val O: slick.jdbc.JdbcProfile.columnOptions.type
- Definition Classes
- Table
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def collectFieldSymbols(n: Node): Iterable[FieldSymbol]
- Attributes
- protected[this]
- Definition Classes
- AbstractTable
- def column[C](n: String, options: ColumnOption[C]*)(implicit tt: TypedType[C]): Rep[C]
- Definition Classes
- Table
- def columnByName(name: String): slick.jdbc.JdbcProfile.API.Rep[_]
find column by name
- final def columnsNames: Seq[String]
- def create_*: Iterable[FieldSymbol]
- Definition Classes
- AbstractTable
- implicit val dateTimeMapper: slick.jdbc.JdbcProfile.API.BaseColumnType[DateTime]
- Definition Classes
- CustomTypeMappers
- implicit val durationTypeMapper: slick.jdbc.JdbcProfile.API.BaseColumnType[Duration]
- Definition Classes
- CustomTypeMappers
- def encodeRef(path: Node): AbstractTable[Entity]
- Definition Classes
- AbstractTable → Rep
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- final def foreignKeys: Iterable[ForeignKey]
- Definition Classes
- AbstractTable
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def index[T](name: String, on: T, unique: Boolean)(implicit shape: Shape[_ <: FlatShapeLevel, T, _, _]): Index
- Definition Classes
- AbstractTable
- def indexes: Iterable[Index]
- Definition Classes
- AbstractTable
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit val localDateMapper: slick.jdbc.JdbcProfile.API.BaseColumnType[LocalDate]
- Definition Classes
- CustomTypeMappers
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def primaryKey[T](name: String, sourceColumns: T)(implicit shape: Shape[_ <: FlatShapeLevel, T, _, _]): PrimaryKey
- Definition Classes
- AbstractTable
- final def primaryKeys: Iterable[PrimaryKey]
- Definition Classes
- AbstractTable
- val schemaName: Option[String]
- Definition Classes
- AbstractTable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tableConstraints: Iterator[Constraint]
- Definition Classes
- AbstractTable
- def tableIdentitySymbol: TableIdentitySymbol
- Definition Classes
- Table → AbstractTable
- val tableName: String
- Definition Classes
- AbstractTable
- lazy val tableNode: TableNode
- Definition Classes
- AbstractTable
- def tableProvider: RelationalProfile
- Definition Classes
- Table
- val tableTag: Tag
- Definition Classes
- AbstractTable
- def toNode: Node
- Definition Classes
- AbstractTable → Rep
- def toString(): String
- Definition Classes
- Rep → AnyRef → Any
- val viewName: String
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()