mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-09 00:38:02 +00:00
implement NOT
This commit is contained in:
parent
2240dd09ff
commit
7aab880387
3 changed files with 17 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue