squealgen VS squeal-postgresql

Compare squealgen vs squeal-postgresql and see what are their differences.

squealgen

generate haskell types for Squeal from a running postgresql database. (by mwotton)

squeal-postgresql

Squeal, a deep embedding of SQL in Haskell (by morphismtech)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
squealgen squeal-postgresql
3 5
25 351
- 0.0%
0.0 6.6
almost 3 years ago about 2 months ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

squealgen

Posts with mentions or reviews of squealgen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-28.
  • What's your favorite Database EDSL/library in Haskell?
    4 projects | /r/haskell | 28 Feb 2023
    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
  • How can type inference represent calculation?
    2 projects | /r/haskell | 8 Oct 2022
    Indeed, this is exactly what squeal does. You define (or generate from your schema) a type-level description of your tables, including whether each column can be null or not, and squeal type-checks your SQL queries, including checking whether those fields should be wrapped in a Maybe or not. In the linked documentation, note how the user_id and email fields are defined:
  • How to dynamically create types?
    2 projects | /r/haskell | 9 Jun 2022
    If the DB is Postgres, then this is actually probably a good usecase for Squeal, along with squealgen. It has a bit of a learning curve, but what you get is the ability to read an existing DB and generate a type-level schema from it automatically, which can then be used for completely type-safe queries. It also supports type-level migrations.

squeal-postgresql

Posts with mentions or reviews of squeal-postgresql. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-17.

What are some alternatives?

When comparing squealgen and squeal-postgresql you can also consider the following projects:

postgrest - REST API for any Postgres database

selda - A type-safe, high-level SQL library for Haskell

rel8 - Hey! Hey! Can u rel8?

beam - A type-safe, non-TH Haskell SQL library and ORM

opaleye

persistent-mysql-haskell - Persistence interface for Haskell allowing multiple storage methods.

ghc - Mirror of the Glasgow Haskell Compiler. Please submit issues and patches to GHC's Gitlab instance (https://gitlab.haskell.org/ghc/ghc). First time contributors are encouraged to get started with the newcomers info (https://gitlab.haskell.org/ghc/ghc/wikis/contributing).

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

esqueleto - Bare bones, type-safe EDSL for SQL queries on persistent backends.