Skip to content

Please, don't waste your time here and go directly to `Kamirus/purescript-selda`

License

Notifications You must be signed in to change notification settings

paluh/purescript-little-selda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Please, don't waste your time here and go directly to `Kamirus/purescript-selda`

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published