Class: abstract
SqlNode
Extended by
SqlCreateDatabase
SqlDropDatabase
SqlCreateTable
SqlDropTable
SqlRenameTable
SqlCreateIndex
SqlDropIndex
SqlCreateSequence
SqlDropSequence
SqlAddColumn
SqlAlterColumn
SqlAddPrimaryKey
SqlDropColumn
SqlRenameColumn
SqlInsert
SqlUpdate
SqlDelete
SqlForeignKey
SqlAddForeignKey
SqlColumn
SqlSelect
SqlJoin
SqlOrderBy
SqlOrdering
SqlBinary
SqlAlias
SqlTypeAlias
SqlFunction
SqlMember
SqlIdentifier
SqlNextValue
SqlExists
SqlIn
SqlLike
SqlNotLike
SqlNot
SqlNegation
SqlString
SqlTimestamp
SqlNumber
SqlBoolean
SqlNull
SqlParameter
SqlStar
SqlIsNull
SqlIsNotNull
SqlComposite
SqlRaw
SqlCase
SqlSet
Implements
ValueObject
Constructors
new SqlNode()
protected
new SqlNode(binding
?:SqlBinding
):SqlNode
Parameters
Parameter | Type |
---|---|
binding ? | SqlBinding |
Returns
Defined in
packages/verse-core/src/db/sql.ts:98
Accessors
binding
get
binding():undefined
|SqlBinding
Returns
undefined
| SqlBinding
Defined in
packages/verse-core/src/db/sql.ts:102
identifier
get
identifier():SqlIdentifier
Returns
Defined in
packages/verse-core/src/db/sql.ts:127
nullable
get
nullable():undefined
|boolean
Returns
undefined
| boolean
Defined in
packages/verse-core/src/db/sql.ts:110
readable
get
readable():boolean
Returns
boolean
Defined in
packages/verse-core/src/db/sql.ts:114
size
get
size():number
Returns
number
Defined in
packages/verse-core/src/db/sql.ts:155
type
get
type():undefined
|SqlType
Returns
undefined
| SqlType
Defined in
packages/verse-core/src/db/sql.ts:106
Methods
accept()
accept<
T
,S
>(visitor
:SqlVisitor
<T
,unknown
>,state
?:S
):T
Type Parameters
Type Parameter | Default type |
---|---|
T | - |
S | unknown |
Parameters
Parameter | Type |
---|---|
visitor | SqlVisitor <T , unknown > |
state ? | S |
Returns
T
Defined in
packages/verse-core/src/db/sql.ts:164