# Class: Domain

# Hierarchy

Type

Domain

# Constructors

# constructor

+ new Domain(args: DomainConstructorArgs): Domain

Overrides void

Defined in pg-structure/type/domain.ts:18

Parameters:

Name Type
args DomainConstructorArgs

Returns: Domain

# Properties

# arrayDimension

arrayDimension: number

Defined in pg-structure/type/domain.ts:79


# checkConstraints

checkConstraints: IndexableArray‹CheckConstraint, "name", never, true› = IndexableArray.throwingFrom([], "name")

Defined in pg-structure/type/domain.ts:99


# classOid

classOid: number

Inherited from Type.classOid

Defined in pg-structure/base/type.ts:24


# Optional comment

comment? : undefined | string

Inherited from DbObject.comment

Defined in pg-structure/base/db-object.ts:75


# default

default: number | string | boolean | null

Defined in pg-structure/type/domain.ts:94


# Optional length

length? : undefined | number

Defined in pg-structure/type/domain.ts:53


# name

name: string

Inherited from DbObject.name

Defined in pg-structure/base/db-object.ts:42


# notNull

notNull: boolean

Defined in pg-structure/type/domain.ts:43


# oid

oid: number

Inherited from Type.oid

Defined in pg-structure/base/type.ts:21


# Optional precision

precision? : undefined | number

Defined in pg-structure/type/domain.ts:66


# Optional scale

scale? : undefined | number

Defined in pg-structure/type/domain.ts:76


# schema

schema: Schema

Inherited from Type.schema

Overrides DbObject.schema

Defined in pg-structure/base/type.ts:29


# Optional shortName

shortName? : undefined | string

Inherited from Type.shortName

Defined in pg-structure/base/type.ts:50

# Accessors

# commentData

commentData:

Inherited from DbObject.commentData

Defined in pg-structure/base/db-object.ts:102


# commentWithoutData

commentWithoutData:

Inherited from DbObject.commentWithoutData

Defined in pg-structure/base/db-object.ts:85


# db

db:

Inherited from DbObject.db

Defined in pg-structure/base/db-object.ts:68


# fullCatalogName

fullCatalogName:

Inherited from DbObject.fullCatalogName

Defined in pg-structure/base/db-object.ts:35


# fullName

fullName:

Inherited from Type.fullName

Overrides DbObject.fullName

Defined in pg-structure/base/type.ts:37


# nameCaseType

nameCaseType:

Inherited from DbObject.nameCaseType

Defined in pg-structure/base/db-object.ts:54


# separator

separator:

Inherited from DbObject.separator

Defined in pg-structure/base/db-object.ts:61


# type

type:

Defined in pg-structure/type/domain.ts:46