Ensure DELETE statements WHERE clauses are processed

This commit is contained in:
Tobie Morgan Hitchcock 2022-02-14 22:20:11 +00:00
parent 5f3c5b8e73
commit ea67af5a29

View file

@ -17,6 +17,7 @@ impl<'a> Document<'a> {
let cond = match stm {
Statement::Select(stm) => stm.cond.as_ref(),
Statement::Update(stm) => stm.cond.as_ref(),
Statement::Delete(stm) => stm.cond.as_ref(),
_ => unreachable!(),
};
// Match clause