mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
Expose sqlite3_changes() #460
This commit is contained in:
parent
36846387be
commit
e4c1f541ae
@ -618,7 +618,10 @@ impl Connection {
|
|||||||
self.db.borrow_mut().decode_result(code)
|
self.db.borrow_mut().decode_result(code)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn changes(&self) -> usize {
|
/// Return the number of rows modified, inserted or deleted by the most
|
||||||
|
/// recently completed INSERT, UPDATE or DELETE statement on the database
|
||||||
|
/// connection.
|
||||||
|
pub fn changes(&self) -> usize {
|
||||||
self.db.borrow_mut().changes()
|
self.db.borrow_mut().changes()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user