Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.24 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.24 KB

purescript-little-selda ... is dead!

Long live the purescript-selda!

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 :-)

About

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.

Testing

$ pulp test --main 'Test.Integration'

Progress of migration

  • 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