This namespace provides any conversion necessary between RAD attributes and their corresponding table / columns in the database.
This namespace provides any conversion necessary between RAD attributes and their corresponding table / columns in the database.
(attr->table-name k->attr
{:keys [:com.fulcrologic.rad.attributes/identities
:com.fulcrologic.rad.database-adapters.sql/table]})
DEPRECATED. use table-name
on an id attr. This one cannot be correct, since an attr can be on more than one tbl
DEPRECATED. use `table-name` on an id attr. This one cannot be correct, since an attr can be on more than one tbl
(attrs->sql-col-index k->attr)
Takes a list of rad attributes and returns an index of the form
{[table column] :qualified/keyword}
Takes a list of rad attributes and returns an index of the form `{[table column] :qualified/keyword}`
(column-name {:com.fulcrologic.rad.attributes/keys [qualified-key cardinality
type]
:com.fulcrologic.rad.database-adapters.sql/keys [column-name]})
(column-name k->attr
{:com.fulcrologic.rad.attributes/keys [identities cardinality type]
:as attr})
Get the column name for the given attribute.
Get the column name for the given attribute.
(table-name {:com.fulcrologic.rad.attributes/keys [identity? qualified-key]
:com.fulcrologic.rad.database-adapters.sql/keys [table]})
(table-name key->attribute
{:com.fulcrologic.rad.attributes/keys [identity? identities]
:com.fulcrologic.rad.database-adapters.sql/keys [table]
:as attr})
Get the table name for a given identity key
Get the table name for a given identity key
(tables-and-columns key->attribute
{:com.fulcrologic.rad.attributes/keys [identity? identities]
:as attribute})
Return a sequence of [table-name column-name] that the given attribute appears at.
Return a sequence of [table-name column-name] that the given attribute appears at.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close