Merge pull request #490 from holyjak/patch-1

improve on-conflict docstring
This commit is contained in:
Sean Corfield 2023-05-20 14:32:48 -07:00 committed by GitHub
commit e83fa1d76a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -869,7 +869,8 @@
(defn on-conflict (defn on-conflict
"Accepts zero or more SQL entities (keywords or symbols), "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])} {:arglists '([column* where-clause])}
[& args] [& args]
(generic :on-conflict args)) (generic :on-conflict args))