From 73da451ab351601c3d69d802c2f3743051f2bde6 Mon Sep 17 00:00:00 2001 From: Justin Kramer Date: Sat, 18 Aug 2012 15:41:51 -0400 Subject: [PATCH] not-like sugar --- src/honeysql/format.clj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/honeysql/format.clj b/src/honeysql/format.clj index c9f2e69..9dd4cfb 100644 --- a/src/honeysql/format.clj +++ b/src/honeysql/format.clj @@ -29,14 +29,15 @@ (def infix-fns #{"+" "-" "*" "/" "%" "mod" "|" "&" "^" "and" "or" "xor" - "in" "not in" "like" "regexp"}) + "in" "not in" "like" "not like" "regexp"}) (def fn-aliases {"is" "=" "is-not" "<>" "not=" "<>" "!=" "<>" - "not-in" "not in"}) + "not-in" "not in" + "not-like" "not like"}) (declare to-sql format-predicate*)