dev-haskell / esqueleto

Type-safe EDSL for SQL queries on persistent backends

Official package sites : https://github.com/bitemyapp/esqueleto ·

@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, currently it has a poor interface for SQL backends compared to SQL itself. For example, it's extremely hard to do a type-safe @JOIN@ on a many-to-one relation, and simply impossible to do any other kinds of @JOIN@s (including for the very common many-to-many relations). Users have the option of writing raw SQL, but that's error prone and not type-checked. @esqueleto@ is a bare bones, type-safe EDSL for SQL queries that works with unmodified @persistent@ SQL backends. Its language closely resembles SQL, so (a) you don't have to learn new concepts, just new syntax, and (b) 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. Currently only @SELECT@s 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/meteficha/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.

v3.3.4.0 :: 0/3.3.4.0 :: gentoo

Modified
License
BSD
Keywords
~amd64 ~x86
USE flags
doc hscolour profile test

General

doc
Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
hscolour
Include coloured haskell sources to generated documentation (dev-haskell/hscolour)
profile
Add support for software performance analysis (will likely vary from ebuild to ebuild)
test
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

dev-haskell / aeson : Fast JSON parsing and encoding

dev-haskell / attoparsec : Fast combinator parsing for bytestrings and text

dev-haskell / blaze-html : A blazingly fast HTML combinator library for Haskell

dev-haskell / cabal : A framework for packaging Haskell software

dev-haskell / conduit : Streaming data processing library

dev-haskell / exceptions : Extensible optionally-pure exceptions

dev-haskell / haddock : A documentation-generation tool for Haskell libraries

dev-haskell / hscolour : Colourise Haskell code

dev-haskell / hspec : A Testing Framework for Haskell

dev-haskell / monad-logger : A class of monads which can log messages

dev-haskell / mtl : Monad classes, using functional dependencies

dev-haskell / mysql : A low-level MySQL client library

dev-haskell / mysql-simple : A mid-level MySQL client library

dev-haskell / persistent : Type-safe, multi-backend data serialization

dev-haskell / persistent-mysql : Backend for the persistent library using MySQL database server

dev-haskell / persistent-postgresql : Backend for the persistent library using postgresql

dev-haskell / persistent-sqlite : Backend for the persistent library using sqlite3

dev-haskell / persistent-template : Type-safe, non-relational, multi-backend persistence

dev-haskell / postgresql-libpq : low-level binding to libpq

dev-haskell / postgresql-simple : Mid-Level PostgreSQL client library

dev-haskell / resourcet : Deterministic allocation and freeing of scarce resources

dev-haskell / tagged : Haskell 98 phantom types to avoid unsafely passing dummy arguments

dev-haskell / text : An efficient packed Unicode text type

dev-haskell / unliftio : The MonadUnliftIO typeclass for unlifting monads to IO (batteries included)

dev-haskell / unordered-containers : Efficient hashing-based container types

dev-haskell / vector : Efficient Arrays

dev-lang / ghc : The Glasgow Haskell Compiler

dev-haskell / aeson : Fast JSON parsing and encoding

dev-haskell / attoparsec : Fast combinator parsing for bytestrings and text

dev-haskell / blaze-html : A blazingly fast HTML combinator library for Haskell

dev-haskell / conduit : Streaming data processing library

dev-haskell / monad-logger : A class of monads which can log messages

dev-haskell / persistent : Type-safe, multi-backend data serialization

dev-haskell / resourcet : Deterministic allocation and freeing of scarce resources

dev-haskell / tagged : Haskell 98 phantom types to avoid unsafely passing dummy arguments

dev-haskell / text : An efficient packed Unicode text type

dev-haskell / unliftio : The MonadUnliftIO typeclass for unlifting monads to IO (batteries included)

dev-haskell / unordered-containers : Efficient hashing-based container types

dev-lang / ghc : The Glasgow Haskell Compiler

Repository mirror & CI · gentoo
Merge updates from master
Jack Todaro · gentoo
dev-haskell/esqueleto: drop old
Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Jack Todaro · gentoo
dev-haskell/esqueleto: bump up to 3.3.4.0
Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-haskell/esqueleto: drop old
Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-haskell/esqueleto: bump up to 3.3.3.2
Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/735778 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-haskell/esqueleto: drop old
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
*/*: Inline mirror://hackage and update URIs
This change inlines mirror://hackage in all ebuilds, and updates URIs to the modern form (old URIs redirect to that). The change has been made using the following command: find -name '*.ebuild' -exec sed -r -i \ -e 's@mirror://hackage/@https://hackage.haskell.org/@g' \ -e 's@https://hackage.haskell.org/packages/archive/([^/]*)/([^/]*)/@https://hackage.haskell.org/package/\1-\2/@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{PV}@${P}@g' \ -e '/hackage\.haskell\.org/s@\$\{MY_PN}-\$\{PV}@${MY_P}@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{MY_PV}@${MY_P}@g' \ {} + Signed-off-by: Michał Górny <mgorny@gentoo.org>
Robin H. Johnson · gentoo
Drop $Id$ per council decision in bug #611234.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Sergei Trofimovich · gentoo
dev-haskell/esqueleto: bump up to 2.4.3
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Sergei Trofimovich · gentoo
dev-haskell/esqueleto: drop old
Package-Manager: portage-2.3.0_rc1
Sergei Trofimovich · gentoo
dev-haskell/esqueleto: drop old
Package-Manager: portage-2.2.28
Robin H. Johnson · gentoo
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed