Go to file
2016-04-04 11:17:47 -07:00
docs Typos and fixes to the blog post. 2012-09-07 00:08:16 -03:00
src/Database Use IsSqlBackend synonym 2016-04-04 11:17:47 -07:00
test Revert "Fix pedantic errors" 2016-02-12 18:45:45 -02:00
.gitignore ignore .stack-work 2015-06-19 17:19:36 -07:00
esqueleto.cabal Bump version to 2.4.3. 2016-02-12 18:47:37 -02:00
LICENSE Initial commit. 2012-09-03 09:18:39 -03:00
README.md Correcting a typo in the README. 2015-08-02 20:42:59 +01:00
Setup.hs Initial commit. 2012-09-03 09:18:39 -03:00
stack.yaml Use IsSqlBackend synonym 2016-04-04 11:17:47 -07: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 information read esqueleto.