MysqlColumnResponse

data class MysqlColumnResponse(val collation: String, val column: String, val dataType: String, val length: Int, val nullable: Boolean, val ordinalPosition: Int, val primaryKey: Boolean)

MySQL Column.

Constructors

Link copied to clipboard
fun MysqlColumnResponse(collation: String, column: String, dataType: String, length: Int, nullable: Boolean, ordinalPosition: Int, primaryKey: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Column collation.

Link copied to clipboard

Column name.

Link copied to clipboard

The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html

Link copied to clipboard
val length: Int

Column length.

Link copied to clipboard

Whether or not the column can accept a null value.

Link copied to clipboard

The ordinal position of the column in the table.

Link copied to clipboard

Whether or not the column represents a primary key.