Package wsatools :: Package DbConnect :: Module DbSession :: Class PkLeftJoin
[hide private]

Class PkLeftJoin

source code


Defines a database left outer join between two tables on the first table's primary key. Use as the table argument value in DbSession.query() type methods or when initialising an SelectSQL object.

Instance Methods [hide private]
 
__init__(self, leftTable, rightTable)
Defines an SQL left outer join between given tables on the first table's primary key.
source code

Inherited from LeftJoin (private): _setSQL

Inherited from Join: __str__

Inherited from Join (private): _parseInput

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]

Inherited from Join: aliases, fromStr, joinCols, whereStr

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, leftTable, rightTable)
(Constructor)

source code 

Defines an SQL left outer join between given tables on the first table's primary key.

Parameters:
  • leftTable (Schema.Table) - First table in the left join.
  • rightTable (Schema.Table) - Second table in the left join.
Overrides: object.__init__