Appendix A: Python ibm_db API
This appendix documents the Python ibm_db API. The API is a part of a Python package that needs to be imported into your program. It consists of multiple function definitions that contain the API as methods of the class. In addition, there are also some functions defined as constants included in the package.
To include the ibm_db package, use the following Python code:
This will make the entire API available to your Python program. It is a relatively small package, so importing all of it is really no imposition.
Much of the content of this chapter is taken from the GitHub website at
https://github.com.ibmdb/python-ibmdb/wiki/APIs
The major exception to this are the examples for each API. These have been totally ...