Merge pull request #233 from tlewin/master
Fix a typo in the Extensibility section
This commit is contained in:
commit
c0bdcc26b0
1 changed files with 1 additions and 1 deletions
|
|
@ -461,7 +461,7 @@ To teach `honeysql` how to handle your datatype you need to implement [`honeysql
|
||||||
;; results in => "where :some_column > ()"
|
;; results in => "where :some_column > ()"
|
||||||
|
|
||||||
;; we can teach honeysql about it:
|
;; we can teach honeysql about it:
|
||||||
(extend-protocol honeysql.format.ToSql
|
(extend-protocol honeysql.format/ToSql
|
||||||
MyDateWrapper
|
MyDateWrapper
|
||||||
(to-sql [v] (to-sql (date/to-sql-timestamp v))))
|
(to-sql [v] (to-sql (date/to-sql-timestamp v))))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue