Back

by-keys (clj)

(source)

function

(by-keys key-map clause opts)
Given a hash map of column names and values and a clause type (`:set`, `:where`), return a vector of a SQL clause and its parameters. Applies any `:column-fn` supplied in the options.

Examples