mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 08:49:27 +08:00
Document CachedStatement::discard.
This commit is contained in:
parent
dc1b0e39ed
commit
8ce2f5888f
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user