In the sqlite3 API, the sqlite3_bind_* methods for attaching values to a prepared statement are 1-indexed, and the sqlite3_column_* methods for reading from a result row are 0-indexed. FAIL.
In the sqlite3 API, the sqlite3_bind_* methods for attaching values to a prepared statement are 1-indexed, and the sqlite3_column_* methods for reading from a result row are 0-indexed. FAIL.