Liking cljdoc? Tell your friends :D

specomatic-db.field-def

Functions working with specomatic-db field definitions, extending specomatic field definitions.

Functions working with specomatic-db field definitions, extending specomatic field definitions.
raw docstring

column-nameclj

(column-name field-def)

Given the field definition field-def, returns the column name.

Given the field definition `field-def`, returns the column name.
sourceraw docstring

db-viaclj

(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.
sourceraw docstring

defaultscljmultimethod

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.
sourceraw docstring

join-tableclj

(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.
sourceraw docstring

join-table-id-fieldclj

(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.
sourceraw docstring

not-persistent?clj

(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.
sourceraw docstring

owns-relation?clj

(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.
sourceraw docstring

save-related?clj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close