(delete-entity! env params)
(delta->ref-updates env tempids schema delta)
(delta->scalar-inserts {:com.fulcrologic.rad.attributes/keys [key->attribute]
:com.fulcrologic.rad.database-adapters.sql/keys
[connection-pools]
:as env}
schema
delta)
(delta->scalar-updates 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.
(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]
: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