honeysql/src/honey/sql/protocols.cljc
2022-08-06 22:02:21 -07:00

8 lines
302 B
Clojure

;; copyright (c) 2022 sean corfield, all rights reserved
(ns honey.sql.protocols
"InlineValue -- a protocol that defines how to inline
values; (sqlize x) produces a SQL string for x.")
(defprotocol InlineValue :extend-via-metadata true
(sqlize [this] "Render value inline in a SQL string."))