honeysql/src/honey/sql/protocols.cljc

9 lines
302 B
Text
Raw Normal View History

;; 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."))