/
Aliases.scala
42 lines (41 loc) · 1.76 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
package scala.slick
package lifted
/**
* 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] = lifted.Query[E, U]
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]
val ConstColumn = lifted.ConstColumn
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 ShapeLevel = lifted.ShapeLevel
val ShapeLevel = lifted.ShapeLevel
type Isomorphism[A, B] = lifted.Isomorphism[A, B]
type MappedTo[T] = lifted.MappedTo[T]
}