Represents an SQL JOIN clause, used for joining tables. Created by patio.Dataset join methods.
Extends Instance PropertiesProperty | Type | Default Value | Description |
joinType | String | READ ONLY the type of join this JoinClause should use | |
joinType | READ ONLY the alias to use for this join clause | ||
table | READ ONLY the table to join with | ||
- function (joinType,table,tableAlias){
- this.__joinType = joinType;
- this.__table = table;
- this.__tableAlias = tableAlias || null;
- }
Converts the patio.sql.JoinClause 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.JoinClause.
- function (ds){
- !Dataset && (Dataset = require("./dataset"));
- ds = ds || new Dataset();
- return ds.joinClauseSql(this);
- }