RepOption

slick.lifted.RepOption
final case class RepOption[T](base: ShapedValue[_, _], toNode: Node) extends Rep[Option[T]]

Represents Rep[Option[T]] in all cases where T is not a column base type. This special representation is necessary so that a non-Option Rep value can be retrieved for encoding Option-based operations. This base value is of type T if T <: Rep[_], otherwise of type Rep[T].

Attributes

Source:
Rep.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Rep[Option[T]]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def encodeRef(path: Node): Rep[Option[T]]

Encode a reference into this Rep.

Encode a reference into this Rep.

Attributes

Source:
Rep.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Rep -> Any
Inherited from:
Rep
Source:
Rep.scala