Struct sqlx_sqlite::LockedSqliteHandle
source · pub struct LockedSqliteHandle<'a> { /* private fields */ }Implementations§
source§impl LockedSqliteHandle<'_>
impl LockedSqliteHandle<'_>
sourcepub fn as_raw_handle(&mut self) -> NonNull<sqlite3>
pub fn as_raw_handle(&mut self) -> NonNull<sqlite3>
Returns the underlying sqlite3* connection handle.
As long as this LockedSqliteHandle exists, it is guaranteed that the background thread
is not making FFI calls on this database handle or any of its statements.
Note: The sqlite3 type is semver-exempt.
This API exposes the sqlite3 type from libsqlite3-sys crate for type safety.
However, we reserve the right to upgrade libsqlite3-sys as necessary.
Thus, if you are making direct calls via libsqlite3-sys you should pin the version
of SQLx that you’re using, and upgrade it and libsqlite3-sys manually as new
versions are released.
See the driver root docs for details.