From 3d88db6f211975e84f5a67e748f13407eebe1145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Hol=C3=BD?= Date: Sat, 20 May 2023 21:53:38 +0200 Subject: [PATCH] improve on-conflict docstring It was unclear to me what the "hash map" where-condition meant so I tried to clarify. --- src/honey/sql/helpers.cljc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/honey/sql/helpers.cljc b/src/honey/sql/helpers.cljc index 90c8dca..0ba5124 100644 --- a/src/honey/sql/helpers.cljc +++ b/src/honey/sql/helpers.cljc @@ -869,7 +869,8 @@ (defn on-conflict "Accepts zero or more SQL entities (keywords or symbols), - optionally followed by a single SQL clause (hash map)." + optionally followed by a single SQL clause (`{:where }`). + Ex.: `(on-conflict :mom :dad {:where [:= :race \"human\"]}`" {:arglists '([column* where-clause])} [& args] (generic :on-conflict args))