Function sqlite3_sql

Source
pub unsafe fn sqlite3_sql(stmt: *mut sqlite3_stmt) -> *const c_char
Expand description

Returns a pointer to a copy of the UTF-8 SQL text used to create prepared statement stmt if stmt was created by sqlite3_prepare_v2() or sqlite3_prepare_v3().

See https://www.sqlite.org/c3ref/sql.html