Module t.e.util

Part of twisted.enterprise View Source

No module docstring
Class DBError Undocumented
Function getKeyColumn Undocumented
Function safe Make a string safe to include in an SQL statement
Function quote Add quotes for text types and no quotes for integer types.
Function makeKW Utility method to construct a dictionary for the attributes
Function defaultFactoryMethod Used by loadObjects to create rowObject instances.
Class _TableInfo (internal)
Class _TableRelationship (Internal)
def getKeyColumn(rowClass, name): (source)
Undocumented
def safe(text): (source)
Make a string safe to include in an SQL statement
def quote(value, typeCode, string_escaper=safe): (source)
Add quotes for text types and no quotes for integer types. NOTE: uses Postgresql type codes.
def makeKW(rowClass, args): (source)
Utility method to construct a dictionary for the attributes of an object from set of args. This also fixes the case of column names.
def defaultFactoryMethod(rowClass, data, kw): (source)
Used by loadObjects to create rowObject instances.
API Documentation for twisted, generated by pydoctor.