hugsql
hugsql copied to clipboard
A Clojure library for embracing SQL
I'm trying to bulk update multiple rows in same query. `Update table set "value"= case id when 1 then "one" when 2 then "two" end where id in (1,2)` something...
From what I've read clojure.java.jdbc, while good is on maintenace and will probably not be receiving new features. next.jdbc receives more love. IMO it would make sense to have hugsql...
Hi, thanks for the great lib! Currently if my sql insert script is like ```sql -- :name add-person insert into table (id, name, address) values (:id, :name, :address) ``` and...
#126 explains that SQL files can be stripped from JAR. (when it builds with depstar.) But it does not work with leiningen. Uberjar with option 'aot all & omit-source' still...
GOAL: Add fragments, lines of SQL code that can be defined in `.sql` files in order to compose larger statements. This has been a long-requested feature; Issue #36 was created...
Hello! I tried to use Hugsql with Babashka but had a crash. I just want to ask if someone had any success using hugsql with babashka ? --- And thanks...
Hello, Hugsql seems amazing. Pretty new to clojure, and just can't seem to find any resource out there on how to reload the query.sql. I am using component for my...
With postgresql (probably other databases as well) you can set the fetch-size on a statement to the result set will not be pulled in 1 go into the client. This...
At the moment `clojure.repl/doc` shows documentation defined with `-- :doc` only. It would be nice if function signatures are shown too like Yesql does https://github.com/krisajenkins/yesql#one-file-one-query. I think it's handy to...