If using the Asami pathom-plugin, the resulting patohm-env will contain a map from schema->connection at this key path.
If using the Asami pathom-plugin, the resulting patohm-env will contain a map from schema->connection at this key path.
If using the Asami pathom-plugin, the resulting patohm-env will contain a map from schema->database atom (i.e. (atom (d/db <connection>))) at this key path.
If using the Asami pathom-plugin, the resulting patohm-env will contain a map from schema->database atom (i.e. (atom (d/db <connection>))) at this key path.
ID attribute property. Marks the entity as dependant, i.e. it can only exist as part of another entity
(d/entity parent-entity)
will include its full data and, most importantly, removing it from the :ref
attribute on the parent
will delete it fully from the DB
(notice that this "cascading delete" is a feature of this adapter, not of Asami itself).ID attribute property. Marks the entity as dependant, i.e. it can only exist as part of another entity - f.ex. an OrderLine can only exist as a part of an Order. It is marked in Asami as "owned" by the parent entity and thus `(d/entity parent-entity)` will include its full data and, most importantly, removing it from the `:ref` attribute on the parent will delete it fully from the DB (notice that this "cascading delete" is a feature of this adapter, not of Asami itself).
Identity Attribute option. A (fn [resolve])
that must return a (fn [env input])
. The resolve
is the core
resolving logic (a function of env/input), so the returned function can manipulate the resolver inputs and outputs.
This only affects Asami autogenerated resolvers.
Ex.: aso/wrap-resolve (fn wrap-log [resolve] (fn [env input] (log/spy :info (resolve env input))))
Identity Attribute option. A `(fn [resolve])` that must return a `(fn [env input])`. The `resolve` is the core resolving logic (a function of env/input), so the returned function can manipulate the resolver inputs and outputs. This only affects Asami autogenerated resolvers. Ex.: `aso/wrap-resolve (fn wrap-log [resolve] (fn [env input] (log/spy :info (resolve env input))))`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close