Go to file
Irvi Firqotul Aini bc9f4b3deb Update README.md
2015-07-01 18:58:13 +07:00
docs Typos and fixes to the blog post. 2012-09-07 00:08:16 -03:00
src/Database Add support to simple locking clauses. 2015-06-27 12:32:49 -03:00
test Add support to simple locking clauses. 2015-06-27 12:32:49 -03:00
.gitignore ignore .stack-work 2015-06-19 17:19:36 -07:00
esqueleto.cabal Bump version to 2.2.7. 2015-06-27 12:29:27 -03:00
LICENSE Initial commit. 2012-09-03 09:18:39 -03:00
README Initial commit. 2012-09-03 09:18:39 -03:00
README.md Update README.md 2015-07-01 18:58:13 +07:00
Setup.hs Initial commit. 2012-09-03 09:18:39 -03:00
stack.yaml Make SQLite the default for stack testing. 2015-06-19 21:26:51 -03:00

Esqueleto

Esqueleto is a bare bones, type-safe EDSL for SQL queries that works with unmodified persistent SQL backends. The name of this library means "skeleton" in Portuguese and contains all three SQL letters in the correct order =). It was inspired by Scala's Squeryl but created from scratch. Its language closely resembles SQL. Currently, SELECTs, UPDATEs, INSERTs and DELETEs are supported. Not all SQL features are available, but most of them can be easily added (especially functions).

Persistent is a library for type-safe data serialization. It has many kinds of backends, such as SQL backends (persistent-mysql, persistent-postgresql, persistent-sqlite) and NoSQL backends (persistent-mongoDB). While persistent is a nice library for storing and retrieving records, including with filters, it does not try to support some of the features that are specific to SQL backends. In particular, esqueleto is the recommended library for type-safe JOINs on persistent SQL backends. (The alternative is using raw SQL, but that's error prone and does not offer any composability.). For more informations read esqueleto.