/
Aliases.scala
47 lines (45 loc) · 2.25 KB
/
Aliases.scala
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package scala.slick
package lifted
import scala.language.higherKinds
/** Aliases for lifted embedding features. This trait can be mixed into aliasing
* objects which simplify the use of the lifted embedding. */
trait Aliases {
type Query[+E, U, C[_]] = lifted.Query[E, U, C]
val Query = lifted.Query
type TableQuery[E <: AbstractTable[_]] = lifted.TableQuery[E]
val TableQuery = lifted.TableQuery
type Compiled[T] = lifted.Compiled[T]
val Compiled = lifted.Compiled
type Column[T] = lifted.Column[T]
type ConstColumn[T] = lifted.ConstColumn[T]
type LiteralColumn[T] = lifted.LiteralColumn[T]
val LiteralColumn = lifted.LiteralColumn
val Case = lifted.Case
type Rep[T] = lifted.Rep[T]
val Functions = lifted.Functions
type Parameters[PU, PP] = lifted.Parameters[PU, PP]
val Parameters = lifted.Parameters
type SimpleFunction = lifted.SimpleFunction
val SimpleFunction = lifted.SimpleFunction
type SimpleBinaryOperator = lifted.SimpleBinaryOperator
val SimpleBinaryOperator = lifted.SimpleBinaryOperator
type SimpleExpression = lifted.SimpleExpression
val SimpleExpression = lifted.SimpleExpression
type SimpleLiteral = lifted.SimpleLiteral
val SimpleLiteral = lifted.SimpleLiteral
val TupleMethods = util.TupleMethods
type Tag = lifted.Tag
type Shape[Level <: ShapeLevel, -M, U, P] = lifted.Shape[Level, M, U, P]
type MappedProductShape[Level <: ShapeLevel, C, M <: C, U <: C, P <: C] = lifted.MappedProductShape[Level, C, M, U, P]
type MappedScalaProductShape[Level <: ShapeLevel, C <: Product, M <: C, U <: C, P <: C] = lifted.MappedScalaProductShape[Level, C, M, U, P]
type CaseClassShape[P <: Product, LiftedTuple, LiftedCaseClass <: P, PlainTuple, PlainCaseClass <: P] = lifted.CaseClassShape[P, LiftedTuple, LiftedCaseClass, PlainTuple, PlainCaseClass]
type ProductClassShape[E <: Product,C <: Product] = lifted.ProductClassShape[E, C]
type ShapeLevel = lifted.ShapeLevel
type NestedShapeLevel = lifted.NestedShapeLevel
type FlatShapeLevel = lifted.FlatShapeLevel
type ColumnsShapeLevel = lifted.ColumnsShapeLevel
type Isomorphism[A, B] = lifted.Isomorphism[A, B]
type MappedTo[T] = lifted.MappedTo[T]
val ForeignKeyAction = scala.slick.model.ForeignKeyAction
type ForeignKeyAction = scala.slick.model.ForeignKeyAction
}