Represents an SQL JOIN clause, used for joining tables. Created by patio.Dataset join methods.

Extends Instance Properties
PropertyTypeDefault ValueDescription

READ ONLY the type of join this JoinClause should use


READ ONLY the alias to use for this join clause


READ ONLY the table to join with


Defined sql.js Source
function (joinType,table,tableAlias){
   this.__joinType = joinType;
   this.__table = table;
   this.__tableAlias = tableAlias || null;

toString Function Public

Defined sql.js

Converts the patio.sql.JoinClause to a string.

Arguments Returns Source
function (ds){
   !Dataset && (Dataset = require("./dataset"));
   ds = ds || new Dataset();
   return ds.joinClauseSql(this);

Documentation generated using coddoc.