The ooSQLiteStmt Class
The
ooSQLiteStmt class represents a prepared statement in SQLite. An instance of this
object represents a single SQL statement. This object is usually referred to as a prepared statement, a compiled SQL statement or simply as a
statement.
The life time of a statement object generally goes like this:
-
Instantiate a
new (Class method) statement.
-
Bind values to host parameters using one of the
bind methods such as bindText , bindInt , or bindNull .
-
Execute the SQL by
step one or more times.
-
Possibly, reset the statement using
reset , then go back to step 2. Do this zero or more
times.
-
Release the system resources used by the statement by invoking
finalize .