Add support for NOT NULL and NOTNULL expressions (#1927)

Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
This commit is contained in:
Ryan Schneider 2025-07-21 03:58:20 -07:00 committed by GitHub
parent 23f40cdc40
commit a73577c29f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 200 additions and 8 deletions

View file

@ -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
}
}