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

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

Properties

Link copied to clipboard

Whether the column is auto-incremented.

Link copied to clipboard

Default value of the column.

Link copied to clipboard

Name of the column.

Link copied to clipboard

Whether the column is nullable or not.

Link copied to clipboard
val scale: Int?

Optional amount of fractional digits allowed in the column.

Link copied to clipboard
val size: Int?

Optional size of the column.

Link copied to clipboard
val type: Int

Type of the column.