implement NOT

This commit is contained in:
Andy Grove 2018-12-16 14:03:03 -07:00
parent 2240dd09ff
commit 7aab880387
3 changed files with 17 additions and 0 deletions

View file

@ -105,6 +105,16 @@ fn parse_select_count_wildcard() {
}
}
#[test]
fn parse_not() {
let sql = String::from(
"SELECT id FROM customer \
WHERE NOT salary = ''",
);
let _ast = parse_sql(&sql);
//TODO: add assertions
}
#[test]
fn parse_select_string_predicate() {
let sql = String::from(