honeysql/src/honey/specs.clj
Sean Corfield 87eec786e1 It's 2021
2021-01-29 16:11:52 -08:00

13 lines
467 B
Clojure

;; copyright (c) 2020-2021 sean corfield, all rights reserved
(ns honey.specs
"Optional namespace containing `clojure.spec` representations of
the data format used as the underlying DSL for HoneySQL."
(:require [clojure.spec.alpha :as s]))
(s/def ::sql-expression any?)
(s/def ::dsl (s/map-of simple-keyword?
(s/coll-of ::sql-expression
:kind vector?
:min-count 1)))