Package wsatools :: Package DbConnect :: Module Schema :: Class ForeignKeyConstraint
[hide private]

Class ForeignKeyConstraint

source code


A foreign key constraint schema.

Instance Methods [hide private]
str
createSQL(self)
Returns: Full SQL line to create the object.
source code

Inherited from _Constraint: dropSQL

Inherited from _Schema: __cmp__, __str__, createCommand, parseName

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

Class Variables [hide private]
  constraintType = 'FOREIGN KEY'
SQL ID for specific type of constraint.
  cascadeDeletes = False
Cascade row deletes to referenced tables?
  referenceTable = ''
Table this foreign key references.
  referenceAttrs = ''
Attribute(s) this foreign key references.
  releasable = False
Can this object be released?

Inherited from _Constraint: attrList, identifier, tableName, withOpts

Inherited from _Schema: name, schemaFileName

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

createSQL(self)

source code 
Returns: str
Full SQL line to create the object.
Overrides: _Schema.createSQL