INNER CODE UNIT · Rust
release_memory
rusqlite/rusqlite · src/lib.rs:652
pub fn release_memory(&self) -> Result<()> {
self.db.borrow_mut().release_memory()
}
/// Get the SQLite rowid of the most recent successful INSERT.
///
/// Uses [sqlite3_last_insert_rowid](https://www.sqlite.org/c3ref/last_insert_rowid.html) under
/// the hood.
#[inline]
pub fn last_insert_rowid(&self) -> i64 {
self.db.borrow_mut().last_insert_rowid()
}
/// Convenience method to execute a query that is expected to return a
/// single row.
///
/// ## Example
///