(pg-deftype [_ sym spec params])creates a deftype statement
creates a deftype statement
(pg-deftype-col-fn [col
{:keys [type primary scope sql required unique enum] :as m}]
mopts)formats the column on deftype
formats the column on deftype
(pg-deftype-col-sql form sql)formats the sql on deftype
formats the sql on deftype
(pg-deftype-enum-col col enum mopts)creates the enum column
creates the enum column
(pg-deftype-format [op sym spec params])formats an input form
formats an input form
(pg-deftype-fragment esym)parses the fragment contained by the symbol
parses the fragment contained by the symbol
(pg-deftype-hydrate [op sym spec params]
grammar
{:keys [module book snapshot] :as mopts})hydrates the form with linked ref information
hydrates the form with linked ref information
(pg-deftype-hydrate-check-link snapshot link type)checks a link making sure it exists and is correct type
checks a link making sure it exists and is correct type
(pg-deftype-hydrate-hook entry)updates the application schema
updates the application schema
(pg-deftype-indexes cols ttok)create index statements
create index statements
(pg-deftype-ref col
{:keys [ns link column] :or {column :id}}
{:keys [snapshot] :as mopts})creates the ref entry
creates the ref entry
(pg-deftype-uniques cols)collect unique keys on deftype
collect unique keys on deftype
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |