9 lines
302 B
Text
9 lines
302 B
Text
|
|
;; 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."))
|