opaleye
squeal-postgresql
Our great sponsors
- InfluxDB - Access the most powerful time series database as a service
- SonarQube - Static code analysis for 29 languages.
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
opaleye | squeal-postgresql | |
---|---|---|
9 | 5 | |
581 | 341 | |
- | 2.1% | |
8.2 | 5.0 | |
15 days ago | 30 days ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" 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.
opaleye
-
What's your favorite Database EDSL/library in Haskell?
If you ever have any questions about Opaleye I'm happy to help. Feel free to open an issue to ask about anything any time.
-
Persistent vs. beam for production database
Sounds like Opaleye isn't on your list of choices, but if it is then feel free to ask me any questions, any time by filing an issue (I'm the Opaleye maintainer).
- What are things that the Haskell scene lacks the most?
-
Out of memory when building product-profunctors
Nice! Well done. If you have any more questions about product-profunctors or Opaleye then please let me know. It's best to ask by [opening an issue](https://github.com/tomjaguarpaw/haskell-opaleye/issues/new).
-
Against SQL
The only way out that I can see is to design embedded domain specific languages (EDSLs) that inherit the expressiveness, composability and type safety from the host language. That's what Opaleye and Rel8 (Postgres EDSLs for Haskell do. Haskell is particularly good for this. The query language can be just a monad and therefore users can carry all of their knowledge of monadic programming to writing database queries.
This approach doesn't resolve all of the author's complaints but it does solve many.
Disclaimer: I'm the author of Opaleye. Rel8 is built on Opaleye. Other relational query EDSLs are available.
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
What are some alternatives?
esqueleto - Bare bones, type-safe EDSL for SQL queries on persistent backends.
mywatch
selda - A type-safe, high-level SQL library for Haskell
HDBC - Haskell Database Connectivity
database-migrate - database-migrate haskell library to assist with migration for *-simple sql backends.
persistent-mysql-haskell - Persistence interface for Haskell allowing multiple storage methods.
beam - A type-safe, non-TH Haskell SQL library and ORM
HongoDB - A Simple Key Value Store
sqlite-simple - Mid-level bindings for sqlite
acid-state - Add ACID guarantees to any serializable Haskell data structure
hasql - The fastest PostgreSQL libpq-based driver for Haskell
rel8 - Hey! Hey! Can u rel8?