scalikejdbc

metadata

package metadata

Visibility
  1. Public
  2. All

Type Members

  1. case class Column(name: String, typeCode: Int, typeName: String, size: Int = 0, isRequired: Boolean = false, isPrimaryKey: Boolean = false, isAutoIncrement: Boolean = false, description: String = null, defaultValue: String = null) extends Product with Serializable

    Column meta data

    Column meta data

    name

    name

    typeCode

    type code(int)

    typeName

    type name

    size

    size

    isRequired

    not null

    isPrimaryKey

    primary key

    isAutoIncrement

    auto increment

    description

    comment

    defaultValue

    default value

  2. case class ForeignKey(name: String, foreignColumnName: String, foreignTableName: String) extends Product with Serializable

    Foreign key meta data

    Foreign key meta data

    name

    column name

    foreignColumnName

    column name on the foreign table

    foreignTableName

    foreign table name

  3. case class Index(name: String, columnNames: List[String], isUnique: Boolean) extends Product with Serializable

    Index meta data

    Index meta data

    name

    name

    columnNames

    target column names

    isUnique

    unique index

  4. case class Table(name: String, schema: String = null, description: String = null, columns: List[Column] = List(), foreignKeys: List[ForeignKey] = List(), indices: List[Index] = List()) extends Product with Serializable

    Table meta data

    Table meta data

    name

    name

    schema

    schema

    description

    description

    columns

    columns

    foreignKeys

    foreign keys

    indices

    indices

Ungrouped