SQLiteStatement


public interface SQLiteStatement extends AutoCloseable


SQLite statement definition.

A prepared statement is a resource that must be released once it is no longer needed via its close function.

See also Prepared Statement

Summary

Public methods

abstract boolean

Executes the statement and evaluates the next result row if available.

Public methods

step

Added in 2.5.0
abstract boolean step()

Executes the statement and evaluates the next result row if available.

A statement is initially prepared and compiled but is not executed until one or more calls to this function. If the statement execution produces result rows then this function will return true indicating there is a new row of data ready to be read.

Returns
boolean

true if there are more rows to evaluate or false if the statement is done executing