trait MappedTo[T] extends MappedToBase
The base type for automatically mapped column types.
Extending this type (with a type parameter
which is already a
supported column type) lets you use your custom type as a column
type in the Lifted Embedding. You must provide a constructor that
takes a single value of the underlying type (same restriction as
for value classes).T
- Source
- MappedTo.scala
- Alphabetic
- By Inheritance
- MappedTo
- MappedToBase
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Type Members
- type Underlying = T
- Definition Classes
- MappedTo → MappedToBase
Abstract Value Members
- abstract def getClass(): Class[_ <: AnyRef]
- Definition Classes
- Any
- abstract def value: T
- Definition Classes
- MappedTo → MappedToBase
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (MappedTo[T], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (MappedTo[T]) => Boolean, msg: => Any): MappedTo[T]
- def ensuring(cond: (MappedTo[T]) => Boolean): MappedTo[T]
- def ensuring(cond: Boolean, msg: => Any): MappedTo[T]
- def ensuring(cond: Boolean): MappedTo[T]
- def equals(arg0: Any): Boolean
- Definition Classes
- Any
- def hashCode(): Int
- Definition Classes
- Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from MappedTo[T] toStringFormat[MappedTo[T]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (MappedTo[T], B)
- Implicit
- This member is added by an implicit conversion from MappedTo[T] toArrowAssoc[MappedTo[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...