Back

query (clj)

(source)

function

(query connectable sql-params) (query connectable sql-params opts)
Syntactic sugar over `execute!` to provide a query alias. Given a connectable object, and a vector of SQL and its parameters, returns a vector of hash maps of rows that match.

Examples