From f6a274362a5428667d8d6925a18371ef9a9bee4b Mon Sep 17 00:00:00 2001 From: Leon Mergen Date: Thu, 9 Jun 2016 15:28:19 +0200 Subject: [PATCH] Implements opposite of dsl/exists --- src/suricatta/dsl.clj | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/suricatta/dsl.clj b/src/suricatta/dsl.clj index 6166f0a..654fea5 100644 --- a/src/suricatta/dsl.clj +++ b/src/suricatta/dsl.clj @@ -486,6 +486,12 @@ (defer (DSL/exists @q))) +(defn not-exists + "Create an exists condition." + [q] + (defer + (DSL/notExists @q))) + (defn group-by [q & fields] (defer