(count db stmt)
(count db stmt opts)
Wrap a HoneySQL statement in a select count(...)
Returns true or false.
Wrap a HoneySQL statement in a `select count(...)` Returns true or false.
(database-url->jdbcUrl db-url)
Parse a database url into a jdbc url
Parse a database url into a jdbc url
(execute! db stmt)
(execute! db stmt opts)
Execute a SQL statement. The stmt can either be a SQL vector or a HoneySQL map statement.
Returns a sequence of maps.
Execute a SQL statement. The stmt can either be a SQL vector or a HoneySQL map statement. Returns a sequence of maps.
(execute-one! db stmt)
(execute-one! db stmt opts)
Execute a SQL statement. The stmt can either be a SQL vector or a HoneySQL map statement.
Returns a single result as a map.
Execute a SQL statement. The stmt can either be a SQL vector or a HoneySQL map statement. Returns a single result as a map.
(exists? db stmt)
(exists? db stmt opts)
Wrap a HoneySQL statement in a select exists(...)
Returns true or false.
Wrap a HoneySQL statement in a `select exists(...)` Returns true or false.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close