Home | Trees | Index | Help |
|
---|
Package twisted :: Package enterprise :: Module util |
|
Classes | |
---|---|
_TableInfo |
(internal) |
_TableRelationship |
(Internal) |
Exceptions | |
---|---|
DBError |
Function Summary | |
---|---|
Used by loadObjects to create rowObject instances. | |
getKeyColumn(rowClass,
name)
| |
Utility method to construct a dictionary for the attributes of an object from set of args. | |
Add quotes for text types and no quotes for integer types. |
Variable Summary | |
---|---|
dict |
dbTypeMap = {'real': 1, 'smallint': 1, 'float8': 1, 'var...
|
int |
NOQUOTE = 1 |
int |
USEQUOTE = 2 |
Function Details |
---|
defaultFactoryMethod(rowClass, data, kw)Used by loadObjects to create rowObject instances. |
makeKW(rowClass, args)Utility method to construct a dictionary for the attributes of an object from set of args. This also fixes the case of column names. |
quote(value, typeCode, string_escaper=<function safe at 0x8345294>)Add quotes for text types and no quotes for integer types. NOTE: uses Postgresql type codes.. |
Variable Details |
---|
dbTypeMap
|
NOQUOTE
|
USEQUOTE
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:17 2004 | http://epydoc.sf.net |