(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.
(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 .
(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-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-properties2! {:keys [name properties]} doc)
Extra validation, run the :validate function
Extra validation, run the :validate function
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close