Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 817 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 817 Bytes

purescript-little-selda

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