mirror of
https://github.com/isar/rusqlite.git
synced 2025-08-20 21:09:31 +08:00
Document CachedStatement::discard.
This commit is contained in:
@@ -90,6 +90,8 @@ impl<'conn> CachedStatement<'conn> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Discard the statement, preventing it from being returned to its `Connection`'s collection
|
||||||
|
/// of cached statements.
|
||||||
pub fn discard(mut self) {
|
pub fn discard(mut self) {
|
||||||
self.stmt = None;
|
self.stmt = None;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user