# ColumnMetadata

data class ColumnMetadata(val name: String, val type: Int, val nullable: Boolean, val size: Int?, val scale: Int?, val autoIncrement: Boolean, val defaultDbValue: String?)

Represents metadata information about a specific column.

## Constructors

ColumnMetadata
Link copied to clipboard
constructor(name: String, type: Int, nullable: Boolean, size: Int?, scale: Int?, autoIncrement: Boolean, defaultDbValue: String?)

## Properties

autoIncrement
Link copied to clipboard
val autoIncrement: Boolean

Whether the column is auto-incremented.

defaultDbValue
Link copied to clipboard
val defaultDbValue: String?

Default value of the column.

name
Link copied to clipboard
val name: String

Name of the column.

nullable
Link copied to clipboard
val nullable: Boolean

Whether the column is nullable or not.

scale
Link copied to clipboard
val scale: Int?

Optional amount of fractional digits allowed in the column.

size
Link copied to clipboard
val size: Int?

Optional size of the column.

type
Link copied to clipboard
val type: Int

Type of the column.