mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-02 05:02:16 +00:00
Add support for NOT NULL
and NOTNULL
expressions (#1927)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
This commit is contained in:
parent
23f40cdc40
commit
a73577c29f
8 changed files with 200 additions and 8 deletions
|
@ -263,4 +263,10 @@ impl Dialect for PostgreSqlDialect {
|
|||
fn supports_alter_column_type_using(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
/// Postgres supports `NOTNULL` as an alias for `IS NOT NULL`
|
||||
/// See: <https://www.postgresql.org/docs/17/functions-comparison.html>
|
||||
fn supports_notnull_operator(&self) -> bool {
|
||||
true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue