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 Serializabletrait Producttrait Equalsclass ColumnOption[Nothing]class Objecttrait Matchableclass Any
Members list
In this article