Converting LOB Values

Use

The sdb.dbapi module converts LOB values (LONG values).

Features

Python values -> MaxDB values

You can transfer LOB values as input parameters as follows:

?     As a string

?     As a callable object that is defined similar to the read method of file objects(an integer parameter defines how many characters the system reads and the end of the input stream is indicated by an empty character string.

MaxDB values -> Python values

MaxDB LONG values (LOBs) are output as instances of the class SapDB_LongReader. This class implements the read method.

See also:

For more information, see www.python.org.