public final class SQLExpression:
Immutable node in the structured provider-local SQL expression tree.
The node cannot contain arbitrary SQL. name is used only for validated column identifiers and every application value is stored as a parameter.
column = SQLExpression(SQLExpressionKind.COLUMN, "login", null)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | argumentsarguments as ArrayList<SQLExpression> |
Immutable-by-convention child expression copy. |
| public readonly property | kindkind as SQLExpressionKind |
Closed SQL operation represented by this node. |
| public readonly property | namename as String |
Validated column name when kind is COLUMN. |
| public readonly property | valuevalue as Object |
Bound parameter or collection value for parameter operations. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | SQLExpressionSQLExpression(
kind as SQLExpressionKind,
name as String = "",
value as Object = null,
arguments... as SQLExpression
): |
Creates one immutable SQL expression. |
| public | SQLExpressionSQLExpression(
kind as SQLExpressionKind,
name as String,
value as Object,
arguments as IList<SQLExpression>
): |
Creates one immutable SQL expression from an existing child list. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | renderrender(context as SQLRenderContext) as String: |
Renders this node and appends its parameters to the supplied context. |