Package skytools :: Module sqltools :: Class CopyPipe
[frames] | no frames]

Class CopyPipe

source code

object --+
         |
        CopyPipe

Splits one big COPY to chunks.

Instance Methods
 
__init__(self, dstcurs, tablename, limit=524288, cancel_func=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
write(self, data)
New data from psycopg
source code
 
flush(self)
Send data out.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, dstcurs, tablename, limit=524288, cancel_func=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)