selda
squeal-postgresql
selda | squeal-postgresql | |
---|---|---|
4 | 5 | |
477 | 364 | |
0.2% | 0.5% | |
0.0 | 4.6 | |
8 months ago | 25 days ago | |
Haskell | Haskell | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
selda
-
How to use PostgreSQL with Haskell: selda
Selda “is a Haskell library for interacting with SQL-based relational databases” (PostgreSQL or SQLite). “The library was inspired by LINQ and Opaleye.”
- School of Haskell: Basics
-
Options for (local) database interop?
Acid state is cool, but doesn't offer all of the relational features I'd expect from a database. I'd really like to use an API like selda, but I'm not sure I'd be able to use it with localstorage.
- A more functional approach
squeal-postgresql
-
Choosing the right abstraction level for SQLite library.
You may want to have a look at squeal that someone mentioned the other day in the comments of this post.
-
What's your favorite Database EDSL/library in Haskell?
https://github.com/morphismtech/squeal, because, to my knowledge, it's the only option that both maintains deep type safety without losing the expressive power of SQL. It can even typecheck your database migrations. There's even a tool to generate the types of your schema based on an existing database: https://github.com/mwotton/squealgen
-
Writing a simple Haskell Persistence layer using Generics and Reflection
Yep, https://github.com/morphismtech/squeal does this too.
-
Practical Haskell, 3rd edition, is out!
If you want an example of a type-safe SQL eDSL in Haskell that doesn't have those problems (and supports more Postgres features than esquelto), I'd recommend https://github.com/morphismtech/squeal.
- New version of Squeal, 0.9 released
What are some alternatives?
hocilib - A lightweight Haskell binding to the OCILIB C API
acid-state - Add ACID guarantees to any serializable Haskell data structure
yxdb-utils - Utilities for parsing Alteryx Database format
sqlite-simple - Mid-level bindings for sqlite
mywatch
beam - A type-safe, non-TH Haskell SQL library and ORM
rocksdb-haskell - Haskell bindings to RocksDB (http://rocksdb.org)
hasql - The fastest PostgreSQL libpq-based driver for Haskell
esqueleto - Bare bones, type-safe EDSL for SQL queries on persistent backends.
persistent-mysql-haskell - Persistence interface for Haskell allowing multiple storage methods.
ribbit - A portable, compact and extensible Scheme implementation that is fully R4RS compliant. This includes closures, I/O, tail calls, first-class continuations and a Read Eval Print Loop (REPL). The R4RS Scheme REPL fits inside 6.5Kb !
opaleye