Length

slick.relational.RelationalProfile.ColumnOption.Length
case class Length(length: Int, varying: Boolean) extends ColumnOption[Nothing]

Number of unicode characters for string-like types. Unlike DBType this is portable between different DBMS. Note that for DDL Slick currently picks type CHAR when varying=false and VARCHAR when varying=true. Slick uses VARCHAR or VARCHAR(254) in DDL for String columns if neither ColumnOption DBType nor Length are given.

Value parameters

varying

indicates whether this is just the maximum length of a varying

Attributes

Source
RelationalProfile.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class ColumnOption[Nothing]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product