purescript-selda is a monadic eDSL that allows a user to write type-safe queries. It supports arbitrarily nested queries with capabilities of filtering, joins and aggregation.
We recently published it and provided an introductory guide.
Many thanks to @paluh for making this happen!
Also to @JordanMartinez for reviewing the guide!