Represents an SQL JOIN clause with USING conditions. Created by patio.Dataset join methods. See patio.sql.JoinClause for other argument parameters.
Extends Instance Properties| Property | Type | Default Value | Description |
| using | READ ONLY the column/s to use when joining. | ||
function (using,joinType,table,tableAlias){
this.__using = using.map(function (u) {
return isString(u) ? new Identifier(u) : u;
});
this._super(arguments, [joinType, table, tableAlias]);
}
Converts the patio.sql.JoinUsingClause 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 version of the patio.sql.JoinUsingClause.
function (ds){
!Dataset && (Dataset = require("./dataset"));
ds = ds || new Dataset();
return ds.joinUsingClauseSql(this);
}