IndexBuilder

slick.jdbc.JdbcModelBuilder.IndexBuilder
class IndexBuilder(tableBuilder: TableBuilder, meta: Seq[MIndexInfo])

Attributes

Source:
JdbcModelBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete methods

def columns: Seq[String]

Attributes

Source:
JdbcModelBuilder.scala
def enabled: Boolean

Indicates wether an index should be generated. Disabled by default for:

Indicates wether an index should be generated. Disabled by default for:

  • indexType == tableIndexStatistic
  • indices matching primary key
  • non-unique indices matching foreign keys referencing columns
  • indices matching foreign keys referenced columns

Attributes

Source:
JdbcModelBuilder.scala
final def model: Option[Index]

Attributes

Source:
JdbcModelBuilder.scala
def name: Option[String]

Attributes

Source:
JdbcModelBuilder.scala
def unique: Boolean

Attributes

Source:
JdbcModelBuilder.scala