Mixin to provide alias methods to an expression.
- define(null, {
Create an SQL alias patio.sql.AliasedExpression of the receiving column or expression to the given alias.
ExampleArguments
- sql.identifier("column").as("alias");
- //=> "column" AS "alias"
the alias to assign to the expression.
patio.sql.AliasedExpression
the aliased expression.
- function (alias){
- return new AliasedExpression(this, alias);
- }