summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clojure_sql/jdbc.clj2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clojure_sql/jdbc.clj b/src/clojure_sql/jdbc.clj
index 5b9de12..44ed55e 100644
--- a/src/clojure_sql/jdbc.clj
+++ b/src/clojure_sql/jdbc.clj
@@ -8,6 +8,8 @@
(let [dotted (name key)
keys (string/split dotted #"\.")
keywords (map keyword keys)]
+ (assert (nil? (get-in acc keywords nil))
+ "Error converting fields to maps: conflicting paths.")
(assoc-in acc keywords val)))
{} obj))