Liking cljdoc? Tell your friends :D

us.whitford.fulcro.rad.database-adapters.datalevin.wrap-datalevin-delete

Delete form middleware for Datalevin database adapter.

Delete form middleware for Datalevin database adapter.
raw docstring

delete-entity!clj

(delete-entity! {:com.fulcrologic.rad.attributes/keys [key->attribute] :as env}
                params)

Delete the entity identified by the delete params.

Resolves the entity id with d/entid from the identity key: the raw id for native-id attributes, otherwise the [pk id] lookup ref — so no extra query is needed. Deleting a non-existent entity is an idempotent no-op. Transaction failures are propagated via ex-info rather than swallowed.

Delete the entity identified by the delete `params`.

Resolves the entity id with `d/entid` from the identity key: the raw id for
native-id attributes, otherwise the `[pk id]` lookup ref — so no extra query
is needed. Deleting a non-existent entity is an idempotent no-op. Transaction
failures are propagated via `ex-info` rather than swallowed.
sourceraw docstring

wrap-datalevin-deleteclj

(wrap-datalevin-delete)
(wrap-datalevin-delete handler)

Form delete middleware to accomplish datalevin deletes.

Form delete middleware to accomplish datalevin deletes.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close