Add Statement::clear_bindings

This commit is contained in:
gwenn
2022-12-11 10:26:13 +01:00
parent aad182aff4
commit 5f851fb90f
2 changed files with 9 additions and 2 deletions

View File

@@ -870,6 +870,11 @@ impl Statement<'_> {
mem::swap(&mut stmt, &mut self.stmt);
stmt
}
/// Reset all bindings
pub fn clear_bindings(&mut self) {
self.stmt.clear_bindings()
}
}
impl fmt::Debug for Statement<'_> {