Package gavo :: Package base :: Module sqlsupport :: Class SqlArrayAdapter
[frames] | no frames]

Class SqlArrayAdapter

source code

object --+
         |
        SqlArrayAdapter

An adapter that formats python lists as SQL arrays

This makes, in the shameful tradition of VOTable, empty arrays equal to NULL.

Instance Methods
 
__init__(self, seq)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
prepare(self, conn) source code
 
getquoted(self)
str(x)
source code
 
__str__(self)
str(x)
source code

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

Properties

Inherited from object: __class__

Method Details

__init__(self, seq)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)