Functions working with specomatic-db field definitions, extending specomatic field definitions.
Functions working with specomatic-db field definitions, extending specomatic field definitions.
(column-name field-def)
Given the field definition field-def
, returns the column name.
Given the field definition `field-def`, returns the column name.
(db-via param-field-def)
Given the field definition field-def
, returns the db field on the opposite side of the relation, if available.
Given the field definition `field-def`, returns the db field on the opposite side of the relation, if available.
Given schema
, entity type etype
, field
and field definition param-field-def
, returns a map of defaults
for the field definition.
Given `schema`, entity type `etype`, `field` and field definition `param-field-def`, returns a map of defaults for the field definition.
(join-table param-field-def)
Given the field definition field-def
, returns the join table, if available.
Given the field definition `field-def`, returns the join table, if available.
(join-table-id-field param-field-def)
Given the field definition field-def
, returns the join table id field, if available.
Given the field definition `field-def`, returns the join table id field, if available.
(not-persistent? param-field-def)
Given the field definition field-def
, checks if it is not persistent.
Given the field definition `field-def`, checks if it is not persistent.
(owns-relation? param-field-def)
Given the field definition field-def
, checks if it owns the relation.
Given the field definition `field-def`, checks if it owns the relation.
(save-related? param-field-def)
Given the field definition field-def
, checks if the contents of it should be saved with the entity.
Given the field definition `field-def`, checks if the contents of it should be saved with the entity.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close