From 73c2062d6e7b5313de0e77d335ff00ea8fe1bbae Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Mon, 15 Mar 2021 16:45:26 -0700 Subject: [PATCH] Investigation of string-as-entity behavior This is something that should be updated in the docs. --- src/honey/sql.cljc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/honey/sql.cljc b/src/honey/sql.cljc index 5ace1ee..573d051 100644 --- a/src/honey/sql.cljc +++ b/src/honey/sql.cljc @@ -168,6 +168,12 @@ t (str (q t) ".")))) +(comment + (for [v [:foo-bar 'foo-bar "foo-bar"] a [true false] d [true false]] + (binding [*dialect* (:mysql dialects)] + (format-entity v :aliased a :drop-ns d))) + .) + (defn- param-value [k] (if (contains? *params* k) (get *params* k)