Expose sqlite3_changes() #460

This commit is contained in:
gwenn 2019-01-26 11:01:51 +01:00
parent 36846387be
commit e4c1f541ae

View File

@ -618,7 +618,10 @@ impl Connection {
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()
}