Ensure DELETE statements WHERE clauses are processed
This commit is contained in:
parent
5f3c5b8e73
commit
ea67af5a29
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ impl<'a> Document<'a> {
|
||||||
let cond = match stm {
|
let cond = match stm {
|
||||||
Statement::Select(stm) => stm.cond.as_ref(),
|
Statement::Select(stm) => stm.cond.as_ref(),
|
||||||
Statement::Update(stm) => stm.cond.as_ref(),
|
Statement::Update(stm) => stm.cond.as_ref(),
|
||||||
|
Statement::Delete(stm) => stm.cond.as_ref(),
|
||||||
_ => unreachable!(),
|
_ => unreachable!(),
|
||||||
};
|
};
|
||||||
// Match clause
|
// Match clause
|
||||||
|
|
Loading…
Reference in a new issue