Liking cljdoc? Tell your friends :D

:replace-all

The :replace-all transact form lets you completely replace all rows in a table with a new set.

It is the same as issuing [:delete table] [insert table row1, row2 ...] but can be more efficient.

(rel/transact db [[:replace-all :Customer customer1 customer2]])

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close