Back

delete! (clj)

(source)

function

(delete! connectable table where-params) (delete! connectable table where-params opts)
Syntactic sugar over `execute-one!` to make certain common deletes easier. Given a connectable object, a table name, and either a hash map of columns and values to search on or a vector of a SQL where clause and parameters, perform a delete on the table.

Examples