*** DRAFT ***

About Sitemap Documentation Download License News Support |

## SQLite C Interface

## SQL Statement Object

>     typedef struct sqlite3_stmt sqlite3_stmt;

An instance of this object represents a single SQL statement. This object is variously known as a "prepared statement" or a "compiled SQL statement" or simply as a "statement".

The life of a statement object goes something like this:

1. Create the object using sqlite3_prepare_v2() or a related function.
2. Bind values to host parameters using the sqlite3_bind_*() interfaces.
3. Run the SQL by calling sqlite3_step() one or more times.
4. Reset the statement using sqlite3_reset() then go back to step 2. Do this zero or more times.
5. Destroy the object using sqlite3_finalize().

Refer to documentation on individual methods above for additional information.

See also lists of Objects, Constants, and Functions.

*** DRAFT ***