Package install :: Package MoSTBioDat :: Package DataBase :: Package Query :: Package SQLBuilder :: Module converters
[hide private]
[frames] | no frames]

Module converters

source code

Classes [hide private]
  BOOL
  ConverterRegistry
Functions [hide private]
 
isoStr(val)
Gets rid of time zone information (@@: should we convert to GMT?)
source code
 
registerConverter(typ, func) source code
 
lookupConverter(value, default=None) source code
 
StringLikeConverter(value, db) source code
 
IntConverter(value, db) source code
 
LongConverter(value, db) source code
 
BoolConverter(value, db) source code
 
FloatConverter(value, db) source code
 
NoneConverter(value, db) source code
 
SequenceConverter(value, db) source code
 
StructTimeConverter(value, db) source code
 
DateTimeConverter(value, db) source code
 
DateConverter(value, db) source code
 
TimeConverter(value, db) source code
 
DecimalConverter(value, db) source code
 
sqlrepr(obj, db=None) source code
Variables [hide private]
  origISOStr = None
  DateTimeType = None
  DateTimeDeltaType = None
  NumericType = None
  TRUE = True
  FALSE = False
  sqlStringReplace = [('\'', '\'\''), ('\\', '\\\\'), ('\x00', '...
  converters = ConverterRegistry()
Variables Details [hide private]

sqlStringReplace

Value:
[('\'', '\'\''),
 ('\\', '\\\\'),
 ('\x00', '\\0'),
 ('\x08', '\\b'),
 ('\n', '\\n'),
 ('\r', '\\r'),
 ('\t', '\\t')]