Small. Fast. Reliable.
Choose any three.

SQLite C Interface

Query The EXPLAIN Setting For A Prepared Statement

int sqlite3_stmt_isexplain(sqlite3_stmt *pStmt);

R-29565-52740:[The sqlite3_stmt_isexplain(S) interface returns 1 if the prepared statement S is an EXPLAIN statement, or 2 if the statement S is an EXPLAIN QUERY PLAN. ] R-44487-57903:[The sqlite3_stmt_isexplain(S) interface returns 0 if S is an ordinary statement or a NULL pointer. ]

See also lists of Objects, Constants, and Functions.