pyre.db.Reference

Module Contents

class pyre.db.Reference.Reference(**kwds)

Bases: pyre.db.Measure.Measure

Representation of foreign keys

sql(self, value)

SQL rendering of {value}

onDelete(self, action)

Set the action to perform when the target record is deleted. See {pyre.db.actions} for details

onUpdate(self, action)

Set the action to perform when the target record is updated. See {pyre.db.actions} for details