The :delete transaction form allow you delete rows by predicate expressions.
In the below example, we delete rows for all people called Tom.
(rel/transact db [:delete :Person [= :name "Tom"]])
You can supply multiple predicates
(rel/transact db [:delete :Event [= :type "insert"] [< :ts 1640251544389]])
Like other transaction forms you can only modify tables, all derived state is maintained by relic.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |