improve on-conflict docstring

It was unclear to me what the "hash map" where-condition meant so I tried to clarify.
This commit is contained in:
Jakub Holý 2023-05-20 21:53:38 +02:00 committed by GitHub
parent 7fcb9d97d3
commit 3d88db6f21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 <condition>}`).
Ex.: `(on-conflict :mom :dad {:where [:= :race \"human\"]}`"
{:arglists '([column* where-clause])}
[& args]
(generic :on-conflict args))