emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/emacsql a60deae960 335/427: Add NOTNULL and ISNULL special


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql a60deae960 335/427: Add NOTNULL and ISNULL special operators (#16).
Date: Tue, 13 Dec 2022 02:59:59 -0500 (EST)

branch: elpa/emacsql
commit a60deae96001452126cddce7115fc15e59a613ae
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Add NOTNULL and ISNULL special operators (#16).
---
 emacsql-compiler.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/emacsql-compiler.el b/emacsql-compiler.el
index 2b66d1f389..36142cc6fd 100644
--- a/emacsql-compiler.el
+++ b/emacsql-compiler.el
@@ -268,6 +268,10 @@ which will be combined with variable definitions."
             ;; Unary
             ((not)
              (format "NOT %s" (recur 0)))
+            ((notnull)
+             (format "%s NOTNULL" (recur 0)))
+            ((isnull)
+             (format "%s ISNULL" (recur 0)))
             ;; Ordering
             ((asc desc)
              (format "%s %s" (recur 0) (upcase (symbol-name op))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]