This mixin provides methods related to qualifying expression.
Example
sql.column.qualify("table") //=> "table"."column"
sql.table.qualify("schema") //=> "schema"."table"
sql.column.qualify("table").qualify("schema") //=> "schema"."table"."column"
define({
Use to create a .* expression.
Example
sql.table.all() //=> "table".*
sql.table.qualify("schema").all() //=> "schema"."table".*
Returns
patio.sql.ColumnAll
function (){
return new ColumnAll(this);
}
Qualify the receiver with the given qualifier (table for column/schema for table).
Example
sql.column.qualify("table") //=> "table"."column"
sql.table.qualify("schema") //=> "schema"."table"
sql.column.qualify("table").qualify("schema") //=> "schema"."table"."column"
Arguments
table/schema to qualify this expression to.
patio.sql.QualifiedIdentifier
function (qualifier){
return new QualifiedIdentifier(qualifier, this);
}