Defined in: packages/core/src/models/ValueComponent.ts:47
Extends
Constructors
Constructor
new ColumnReference(
namespaces,column):ColumnReference
Defined in: packages/core/src/models/ValueComponent.ts:66
Parameters
namespaces
null | string | string[] | IdentifierString[]
column
string | IdentifierString
Returns
ColumnReference
Overrides
Properties
comments
comments:
null|string[] =null
Defined in: packages/core/src/models/SqlComponent.ts:29
Inherited from
positionedComments
positionedComments:
null|PositionedComment[] =null
Defined in: packages/core/src/models/SqlComponent.ts:32
Inherited from
SqlComponent.positionedComments
kind
statickind:symbol
Defined in: packages/core/src/models/ValueComponent.ts:65
Overrides
qualifiedName
qualifiedName:
QualifiedName
Defined in: packages/core/src/models/ValueComponent.ts:66
Accessors
namespaces
Get Signature
get namespaces():
null|IdentifierString[]
Defined in: packages/core/src/models/ValueComponent.ts:51
For backward compatibility: returns the namespaces as IdentifierString[] | null (readonly)
Returns
null | IdentifierString[]
column
Get Signature
get column():
IdentifierString
Defined in: packages/core/src/models/ValueComponent.ts:57
For backward compatibility: returns the column name as IdentifierString (readonly)
Returns
Methods
getKind()
getKind():
symbol
Defined in: packages/core/src/models/SqlComponent.ts:15
Returns
symbol
Inherited from
accept()
accept<
T>(visitor):T
Defined in: packages/core/src/models/SqlComponent.ts:19
Type Parameters
T
T
Parameters
visitor
SqlComponentVisitor<T>
Returns
T
Inherited from
toSqlString()
toSqlString(
formatter):string
Defined in: packages/core/src/models/SqlComponent.ts:23
Parameters
formatter
SqlComponentVisitor<string>
Returns
string
Inherited from
addPositionedComments()
addPositionedComments(
position,comments):void
Defined in: packages/core/src/models/SqlComponent.ts:37
Add comments at a specific position
Parameters
position
"before" | "after"
comments
string[]
Returns
void
Inherited from
SqlComponent.addPositionedComments
getPositionedComments()
getPositionedComments(
position):string[]
Defined in: packages/core/src/models/SqlComponent.ts:56
Get comments for a specific position
Parameters
position
"before" | "after"
Returns
string[]
Inherited from
SqlComponent.getPositionedComments
getAllPositionedComments()
getAllPositionedComments():
string[]
Defined in: packages/core/src/models/SqlComponent.ts:66
Get all positioned comments as a flat array in order (before, after)
Returns
string[]
Inherited from
SqlComponent.getAllPositionedComments
toString()
toString():
string
Defined in: packages/core/src/models/ValueComponent.ts:72
Returns a string representation of an object.
Returns
string
getNamespace()
getNamespace():
string
Defined in: packages/core/src/models/ValueComponent.ts:75
Returns
string