Mixin to provide alias methods to an expression.

Constructor

Defined sql.js Source
define(null, {
            

as Function Public


Defined sql.js

Create an SQL alias patio.sql.AliasedExpression of the receiving column or expression to the given alias.

Example
sql.identifier("column").as("alias");
     //=> "column" AS "alias"
        
Arguments Returns Source
function (alias){
   return new AliasedExpression(this, alias);
           
}
    

Documentation generated using coddoc.