Package gavo :: Package svcs :: Module pql :: Class ToPQLTypeConverter
[frames] | no frames]

Class ToPQLTypeConverter

source code

                            object --+    
                                     |    
utils.typeconversions.FromSQLConverter --+
                                         |
                                        ToPQLTypeConverter

Instance Methods
 
mapComplex(self, sqlType, length) source code

Inherited from utils.typeconversions.FromSQLConverter: convert

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  typeSystem = 'pqlexpr'
  simpleMap = {'bigint': 'pql-int', 'char': 'pql-string', 'date'...
Properties

Inherited from object: __class__

Method Details

mapComplex(self, sqlType, length)

source code 
Overrides: utils.typeconversions.FromSQLConverter.mapComplex

Class Variable Details

simpleMap

Value:
{'bigint': 'pql-int',
 'char': 'pql-string',
 'date': 'pql-date',
 'double': 'pql-float',
 'double precision': 'pql-float',
 'float': 'pql-float',
 'int': 'pql-int',
 'integer': 'pql-int',
...