Represents an SQL JOIN clause with ON conditions. Created by patio.Dataset join methods. See patio.sql.JoinClause for other argument parameters.
Extends Instance PropertiesProperty | Type | Default Value | Description |
on | READ ONLY the filter to use with joining the datasets. | ||
- function (on,joinType,table,tableAlias){
- this.__on = on;
- this._super(arguments, [joinType, table, tableAlias]);
- }
Converts the patio.sql.JoinOnClause 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.JoinOnClause.
- function (ds){
- !Dataset && (Dataset = require("./dataset"));
- ds = ds || new Dataset();
- return ds.joinOnClauseSql(this);
- }