CheckConstraint

data class CheckConstraint(val tableName: String, val checkName: String, val checkOp: String) : DdlAware

Represents a check constraint.

Constructors

Link copied to clipboard
constructor(tableName: String, checkName: String, checkOp: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Name of the check constraint.

Link copied to clipboard

Boolean expression used for the check constraint.

Link copied to clipboard
open val ddl: List<String>

Returns the list of DDL statements that create this DdlAware instance.

Link copied to clipboard

Name of the table where the constraint is defined.

Functions

Link copied to clipboard
open override fun createStatement(): List<String>

Returns the list of DDL statements that create this object.

Link copied to clipboard
open override fun dropStatement(): List<String>

Returns the list of DDL statements that drops this object.

Link copied to clipboard
open override fun modifyStatement(): List<String>

Returns the list of DDL statements that modify this object.