ColumnMetadata

data class ColumnMetadata(val name: String, val jdbcType: Int, val sqlType: String, 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, jdbcType: Int, sqlType: String, 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

JDBC type 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

SQL type of the column.