3 ms·
What about the database side of things?
by spelufo 3y ago
What about the database side of things?
- stefcoetzee 3y agonext.jdbc is the go-to library to interact with SQL databases. https://cljdoc.org/d/com.github.seancorfield/next.jdbc/1.3.894/doc/readme https://cljdoc.org/d/com.github.seancorfield/next.jdbc/1.3.8...
- jetrink 3y agoIf you don't need something as low-level as next.jdbc, HugSQL is my preferred library. It lets you write queries in .sql files, and the queries are then loaded as functions. If you want to dynamically generate queries, there are also libraries like HoneySQL.
- simongray 3y agoProbably worth mentioning that triplestores/Datomic-like databases are relatively mainstream in Clojure: https://github.com/simongray/clojure-graph-resources#datalog https://github.com/simongray/clojure-graph-resources#datalog