branch: elpa/emacsql commit a60deae96001452126cddce7115fc15e59a613ae Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@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))))