Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 2.5% on hackage.haskell.org
Top 0.9% downloads on hackage.haskell.org
Top 2.2% dependent packages on hackage.haskell.org
Top 1.5% dependent repos on hackage.haskell.org
Top 4.0% forks on hackage.haskell.org

hackage.haskell.org : esqueleto

esqueleto is a bare bones, type-safe EDSL for SQL queries that works with unmodified persistent SQL backends. Its language closely resembles SQL, so you don't have to learn new concepts, just new syntax, and it's fairly easy to predict the generated SQL and optimize it for your backend. Most kinds of errors committed when writing SQL are caught as compile-time errors---although it is possible to write type-checked esqueleto queries that fail at runtime. 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.) Currently, SELECTs, UPDATEs, INSERTs and DELETEs are supported. Not all SQL features are available, but most of them can be easily added (especially functions), so please open an issue or send a pull request if you need anything that is not covered by esqueleto on https://github.com/bitemyapp/esqueleto. 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.

Registry - Source - JSON
purl: pkg:hackage/esqueleto
Keywords: bsd3, database, library
License: BSD-3-Clause
Latest release: about 4 years ago
First release: over 11 years ago
Dependent packages: 10
Dependent repositories: 273
Downloads: 132,059 total
Stars: 370 on GitHub
Forks: 106 on GitHub
Total Commits: 613
Committers: 81
Average commits per author: 7.568
Development Distribution Score (DDS): 0.602
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 2 days ago

    Loading...
    Readme
    Loading...