APPENDIX BC API Reference

This appendix covers all functions in the SQLite version 3 API as covered in Chapter 6 and Chapter 7. Each function is indexed by its name, followed by its declaration, followed by the description of what it does.

Return Codes

Many of the API functions return integer result codes. There are 26 different return codes defined in the API, 23 of which correspond to errors. All of the SQLite return codes are listed in Table B-1. The API functions that return these codes are listed as follows:

sqlite3_bind_xxx() sqlite3_close() sqlite3_create_collation() sqlite3_collation_needed() sqlite3_create_function() sqlite3_prepare() sqlite3_exec() sqlite3_finalize() sqlite3_get_table() sqlite3_open() sqlite3_reset() sqlite3_step() ...

Get The Definitive Guide to SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.