Module t.e.util

Part of twisted.enterprise View Source

No module docstring
Line # Kind Name Docs
47 Class DBError Undocumented
54 Function getKeyColumn Undocumented
64 Function quote Add quotes for text types and no quotes for integer types.
102 Function safe Make a string safe to include in an SQL statement.
111 Function makeKW Utility method to construct a dictionary for the attributes
126 Function defaultFactoryMethod Used by loadObjects to create rowObject instances.
136 Class _TableInfo (internal)
181 Class _TableRelationship (Internal)
def getKeyColumn(rowClass, name): (source)
Undocumented
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 safe(text): (source)
Make a string safe to include in an SQL statement.
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 at 2008-10-26 16:12:37.