Enum

data class Enum(val oid: Int, val name: String, val schema: String, val values: List<String>) : PgType

Represents a PostgreSQL enum type.

Constructors

Link copied to clipboard
constructor(oid: Int, name: String, schema: String, values: List<String>)

Properties

Link copied to clipboard
open override val name: String

The name of the type.

Link copied to clipboard
open override val oid: Int

The Object Identifier (OID) of the type.

Link copied to clipboard
open override val schema: String

The schema in which the type is defined.

Link copied to clipboard

A list of the string values defined for the enum.