by mjmein · 9y ago · 0 comments
There is some learning curve figuring put how things work, but the advantages of having SQL encoded as clojure data are worth it, in my opinion:
- s-expressions everywhere means that structural editing works
- allows for easy composing of sql queries - can very easily add custom filters, joins, etc and build up queries dynamically
- can easily add abstractions, for example something like https://github.com/metabase/toucan/blob/master/README.md
If you use postgresql, check out: https://github.com/nilenso/honeysql-postgres/blob/master/REA...
No comments yet.