@@ -227,12 +227,20 @@ pub enum Expr {
227
227
CompositeAccess { expr : Box < Expr > , key : Ident } ,
228
228
/// `IS FALSE` operator
229
229
IsFalse ( Box < Expr > ) ,
230
+ /// `IS NOT FALSE` operator
231
+ IsNotFalse ( Box < Expr > ) ,
230
232
/// `IS TRUE` operator
231
233
IsTrue ( Box < Expr > ) ,
234
+ /// `IS NOT TRUE` operator
235
+ IsNotTrue ( Box < Expr > ) ,
232
236
/// `IS NULL` operator
233
237
IsNull ( Box < Expr > ) ,
234
238
/// `IS NOT NULL` operator
235
239
IsNotNull ( Box < Expr > ) ,
240
+ /// `IS UNKNOWN` operator
241
+ IsUnknown ( Box < Expr > ) ,
242
+ /// `IS NOT UNKNOWN` operator
243
+ IsNotUnknown ( Box < Expr > ) ,
236
244
/// `IS DISTINCT FROM` operator
237
245
IsDistinctFrom ( Box < Expr > , Box < Expr > ) ,
238
246
/// `IS NOT DISTINCT FROM` operator
@@ -412,9 +420,13 @@ impl fmt::Display for Expr {
412
420
}
413
421
Expr :: CompoundIdentifier ( s) => write ! ( f, "{}" , display_separated( s, "." ) ) ,
414
422
Expr :: IsTrue ( ast) => write ! ( f, "{} IS TRUE" , ast) ,
423
+ Expr :: IsNotTrue ( ast) => write ! ( f, "{} IS NOT TRUE" , ast) ,
415
424
Expr :: IsFalse ( ast) => write ! ( f, "{} IS FALSE" , ast) ,
425
+ Expr :: IsNotFalse ( ast) => write ! ( f, "{} IS NOT FALSE" , ast) ,
416
426
Expr :: IsNull ( ast) => write ! ( f, "{} IS NULL" , ast) ,
417
427
Expr :: IsNotNull ( ast) => write ! ( f, "{} IS NOT NULL" , ast) ,
428
+ Expr :: IsUnknown ( ast) => write ! ( f, "{} IS UNKNOWN" , ast) ,
429
+ Expr :: IsNotUnknown ( ast) => write ! ( f, "{} IS NOT UNKNOWN" , ast) ,
418
430
Expr :: InList {
419
431
expr,
420
432
list,
0 commit comments