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

Extends Instance Properties
PropertyTypeDefault ValueDescription
joinTypeString

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

Constructor

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.