Col

harness.sql.Col
See theCol companion object
final case class Col[T](colName: String, colType: ColType, codec: QueryCodecSingle[T], nullable: Boolean, keyType: Option[KeyType])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Col[T]

Members list

Value members

Concrete methods

def iemap[T2](mf: T => EitherNel[String, T2])(cmf: T2 => T): Col[T2]
def iemapAuto[T2](implicit iEMap: IEMap[T, T2]): Col[T2]
def imap[T2](mf: T => T2)(cmf: T2 => T): Col[T2]
def imapAuto[T2](implicit iMap: IMap[T, T2]): Col[T2]
inline def imapTry[T2](mf: T => T2)(cmf: T2 => T): Col[T2]
def klass: Option[Class[_]]
def optional: Col[Option[T]]
def primaryKey: Col[T]
def references(foreignKeyRef: => ForeignKeyRef): Col[T]
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
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product