(delta->scalar-inserts {:com.fulcrologic.rad.attributes/keys [key->attribute]
:com.fulcrologic.rad.database-adapters.sql/keys
[connection-pools]
:as env}
schema
delta)
(entity-query
{:com.fulcrologic.rad.attributes/keys [id-attribute key->attribute] :as env}
input)
The entity query used by the pathom resolvers.
The entity query used by the pathom resolvers.
(form->sql-value {:com.fulcrologic.rad.attributes/keys [type cardinality]
:com.fulcrologic.rad.database-adapters.sql/keys
[form->sql-value]}
form-value)
(generate-resolvers attributes schema)
Returns a sequence of resolvers that can resolve attributes from SQL databases.
Returns a sequence of resolvers that can resolve attributes from SQL databases.
(id-resolver {:com.fulcrologic.rad.attributes/keys [id-attribute attributes
k->attr]})
(ref-updates {:com.fulcrologic.rad.attributes/keys [key->attribute] :as env}
schema
tempids
[table id :as ident]
diff)
(save-form! {:com.fulcrologic.rad.attributes/keys [key->attribute]
:com.fulcrologic.rad.database-adapters.sql/keys [connection-pools
postgresql?]
:as env}
{:com.fulcrologic.rad.form/keys [delta]})
Does all the necessary operations to persist mutations from the form delta into the appropriate tables in the appropriate databases
Does all the necessary operations to persist mutations from the form delta into the appropriate tables in the appropriate databases
(scalar-insert {:com.fulcrologic.rad.attributes/keys [key->attribute] :as env}
schema-to-save
tempids
[table id :as ident]
diff)
(scalar-update {:com.fulcrologic.rad.attributes/keys [key->attribute] :as env}
schema-to-save
[table id :as ident]
diff)
(schemas-for-delta {:com.fulcrologic.rad.attributes/keys [key->attribute]}
delta)
(to-many-ref-update {:com.fulcrologic.rad.attributes/keys [key->attribute]
:as env}
schema
target-row-id-attr
tempids
target-id
to-many-attr
old-val
new-val)
(to-one-ref-update {:com.fulcrologic.rad.attributes/keys [key->attribute]
:as env}
schema-to-save
id-attr
tempids
row-id
attr
old-val
[_ new-id :as new-val])
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close