(execute conn sql-map)
(execute conn sql-map {:as opt :keys [honey]})
Like pg.core/execute
but accepts a HoneySQL map
which gets rendered into SQL vector and split on a query
and parameters.
Arguments:
:honey
key for HoneySQL params.Result:
pg.core/execute
.Like `pg.core/execute` but accepts a HoneySQL map which gets rendered into SQL vector and split on a query and parameters. Arguments: - conn: a Connection object; - sql-map: a map like {:select [:this :that] :from [...]} - opt: query options; pass the `:honey` key for HoneySQL params. Result: - same as `pg.core/execute`.
(format sql-map)
(format sql-map opt)
Like honey.sql/format but with some overrides.
Like honey.sql/format but with some overrides.
(query conn sql-map)
(query conn sql-map {:as opt :keys [honey]})
Like pg.core/query
but accepts a HoneySQL map
which gets rendered into a SQL string.
Arguments:
:honey
key for HoneySQL params.Result:
pg.core/query
.Like `pg.core/query` but accepts a HoneySQL map which gets rendered into a SQL string. Arguments: - conn: a Connection object; - sql-map: a map like {:select [:this :that] :from [...]} - opt: query options; pass the `:honey` key for HoneySQL params. Result: - the same as `pg.core/query`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close