So just go directly to purescript-selda !
This prototype was a "literal port" of selda. It has nearly accomplished its mission as it had proven that we can use PureScript records to build queries and rows to represent tables.
It can rest in peace now.
Kamirus implementation is a complately new attempt with clear design and nicer API :-)
An attempt to port Haskell Selda to Purescript. Pre-α stage.
It seems that I'm able to use wonderful purescript records instead of inductive tuples from original library - please check test/Integration/Postgresql.purs
for details.
$ pulp test --main 'Test.Integration'
- Basic table representation
- Table/schema validation function (for postgresql)
- Basic select from table
- Restrict (
WHERE
clause) - Limit
- Order
- Left Join
- Inner Join
- Group by
- Aggregation functions
- Insert (prototype is specialized to postgresql with RETURNING)
- Delete
- Update
- Upsert
- Backend separation (currently all is tested against postgresql)
- Support for postgresql enums