one more readme update
This commit is contained in:
parent
b20a8ab06d
commit
a4a4d271ad
1 changed files with 2 additions and 0 deletions
|
|
@ -151,6 +151,8 @@ You can also define your own clauses:
|
|||
=> ["SELECT a, b FOOBAR baz"]
|
||||
|
||||
(require '[honeysql.helpers :refer [defhelper]])
|
||||
|
||||
;; Defines a helper function, and allows 'build' to recognize your clause
|
||||
(defhelper foobar [m args]
|
||||
(assoc m :foobar (first args)))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue