mirror of
https://github.com/isar/rusqlite.git
synced 2025-08-22 06:19:29 +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) {
|
||||
self.stmt = None;
|
||||
}
|
||||
|
Reference in New Issue
Block a user