Skip to content
# Class: BetweenExpression

Defined in: packages/core/src/models/ValueComponent.ts:339

Extends ​

Constructors ​

Constructor ​

new BetweenExpression(expression, lower, upper, negated): BetweenExpression

Defined in: packages/core/src/models/ValueComponent.ts:345

Parameters ​

expression ​

ValueComponent

lower ​

ValueComponent

upper ​

ValueComponent

negated ​

boolean

Returns ​

BetweenExpression

Overrides ​

SqlComponent.constructor

Properties ​

comments ​

comments: string[] | null = null

Defined in: packages/core/src/models/SqlComponent.ts:29

Inherited from ​

SqlComponent.comments


positionedComments ​

positionedComments: PositionedComment[] | null = null

Defined in: packages/core/src/models/SqlComponent.ts:32

Inherited from ​

SqlComponent.positionedComments


kind ​

static kind: symbol

Defined in: packages/core/src/models/ValueComponent.ts:340

Overrides ​

SqlComponent.kind


expression ​

expression: ValueComponent

Defined in: packages/core/src/models/ValueComponent.ts:341


lower ​

lower: ValueComponent

Defined in: packages/core/src/models/ValueComponent.ts:342


upper ​

upper: ValueComponent

Defined in: packages/core/src/models/ValueComponent.ts:343


negated ​

negated: boolean

Defined in: packages/core/src/models/ValueComponent.ts:344

Methods ​

getKind() ​

getKind(): symbol

Defined in: packages/core/src/models/SqlComponent.ts:15

Returns ​

symbol

Inherited from ​

SqlComponent.getKind


accept() ​

accept<T&gt;(visitor): T

Defined in: packages/core/src/models/SqlComponent.ts:19

Type Parameters ​

T ​

T

Parameters ​

visitor ​

SqlComponentVisitor<T&gt;

Returns ​

T

Inherited from ​

SqlComponent.accept


toSqlString() ​

toSqlString(formatter): string

Defined in: packages/core/src/models/SqlComponent.ts:23

Parameters ​

formatter ​

SqlComponentVisitor<string&gt;

Returns ​

string

Inherited from ​

SqlComponent.toSqlString


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

Released under the MIT License.