Function documentationConverting LOB Values Locate this document in the navigation structure

 

You can use the sdb.dbapi module to convert LOB values.

Features

Converting Python Values -> SAP MaxDB Values

You can transfer LOB values as input parameters as follows:

  • As strings

  • As callable objects that are 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).

Converting SAP MaxDB Values -> Python Values

SAP MaxDB LOB values are returned as instances of the SapDB_LongReader class (sdb.sql module). This class implements the read method.

More Information

http://www.python.org