This class reperesents an Aliased Expression
Extends Instance PropertiesProperty | Type | Default Value | Description |
alias | the alias of the expression | ||
expression | the expression being aliased | ||
- function (expression,alias){
- this.expression = expression;
- this.alias = alias;
- }
Converts the aliased expression to a string
Argumentsdataset used to created the SQL fragment, if the dataset is ommited then the default patio.Dataset implementation is used.
String the SQL alias fragment.
- function (ds){
- !Dataset && (Dataset = require("./dataset"));
- ds = ds || new Dataset();
- return ds.aliasedExpressionSql(this);
- }