Utility functions for specomatic-db.
Utility functions for specomatic-db.
(etypes-from-fields schema fields)
Given schema
, returns all entity types from the fields
sequence, as keywords.
Given `schema`, returns all entity types from the `fields` sequence, as keywords.
(fields-without-verbs fields)
Returns the seql fields
vector without the top-level :verb/ keywords.
Returns the seql `fields` vector without the top-level :verb/ keywords.
(flatten-fields fields)
Flattens a seql fields
sequence.
Flattens a seql `fields` sequence.
(honeysql-field field)
Returns a field keyword suitable for honeysql conditions (separated by .)
Returns a field keyword suitable for honeysql conditions (separated by .)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close