(add-default-values {:keys [properties]} doc)
Like add-derived-values, but only when the doc is created
Like add-derived-values, but only when the doc is created
(add-derived-values is-update?)
Add values derived from other doc values.
Add values derived from other doc values.
(authorize-read-station l f)
(authorize-station l f)
(cleanup-internal dtc doc)
Remove internal attributes
Remove internal attributes
(collect-computed {:keys [properties]} doc)
Collect computed values, for example cached values.
Collect computed values, for example cached values.
Creates a collection name with optional version number and where - has been replaced by .
Creates a collection name with optional version number and where - has been replaced by .
(dom-http-headers restriction last-modified)
(dom-response doc req restriction collects)
(dom-type-collection & {:as options})
(execute-destroy! {:keys [collection]} _)
(execute-fetch {:keys [collection] :as dtc} _)
(execute-update! {:keys [collection]} doc)
(get-dtc-name dtc)
(last-modified doc collects)
(pack-doc collection doc)
Convert the document values, from json types to server types.
Convert the document values, from json types to server types.
(pack-station l)
Add pack station to assembly line
Add pack station to assembly line
(rest-routes dom-type-collection
&
{:keys [index post put get delete path pre-process-dtc]
:or {index true post true put true get true delete true}})
(validate-doc! {:keys [validate-doc]} doc)
(validate-doc-input! {:keys [properties]} doc)
Validate the format of the json doc values, and assures they can be converted to the property type on the server side?
Validate the format of the json doc values, and assures they can be converted to the property type on the server side?
(validate-properties! all-optional? {:keys [name properties]} doc)
(validate-properties2! {:keys [name properties]} doc)
Extra validation, run the :validate function
Extra validation, run the :validate function
(walk-schema trail prop-spec doc)
(walk-schema-with-stop f)
(where clause)
(wrapper-f f dom-type-collection docs)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close