Haskell SQL

Open-source Haskell projects categorized as SQL

Top 8 Haskell SQL Projects

  1. postgrest

    REST API for any Postgres database

    Project mention: Generate an OpenAPI From Your Database | dev.to | 2024-12-27

    This is especially helpful because Supabase uses PostegREST under the hood, which does not support OpenAPI 3.x. Note that some Postgres specific features like enums are not converted to JSON Schema enums as Sequelize doesn't expose that information.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. hstream

    HStreamDB is an open-source, cloud-native streaming database for IoT and beyond. Modernize your data stack for real-time applications. (by hstreamdb)

  4. beam

    A type-safe, non-TH Haskell SQL library and ORM (by haskell-beam)

    Project mention: Optimizing a Rust GPU matmul kernel | news.ycombinator.com | 2024-12-06

    I'm not familiar with GPUs specifically, but I have seen this for ORMs that support multiple SQL dialects (e.g. [0]).

    A great technique is called 'tagless final encoding' [1]. Using this technique, you can specify capabilities of an embedded domain-specific language (eDSL) such that you can have a shared (but narrow) common set of features, while allowing specializations of this eDSL to support extra features.

    [0]: https://github.com/haskell-beam/beam

    [1]: https://nrinaudo.github.io/articles/tagless_final.html

  5. selda

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

  6. squeal-postgresql

    Squeal, a deep embedding of SQL in Haskell

  7. rel8

    Hey! Hey! Can u rel8?

  8. codd

    Codd is a simple-to-use CLI tool that applies plain postgres SQL migrations atomically with strong and automatic cross-environment schema equality checks. (by mzabani)

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. sql-simple-mysql

    common middle-level sql client.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Haskell SQL discussion

Log in or Post with

Haskell SQL related posts

  • Generate an OpenAPI From Your Database

    4 projects | dev.to | 27 Dec 2024
  • Optimizing a Rust GPU matmul kernel

    2 projects | news.ycombinator.com | 6 Dec 2024
  • How to use PostgreSQL with Haskell: beam

    2 projects | dev.to | 2 Oct 2023
  • How to use PostgreSQL with Haskell: selda

    1 project | dev.to | 2 Oct 2023
  • Choosing the right abstraction level for SQLite library.

    2 projects | /r/haskell | 17 Mar 2023
  • Announcing codd - a tool to apply postgres SQL migrations

    3 projects | /r/haskell | 3 Mar 2023
  • What's your favorite Database EDSL/library in Haskell?

    4 projects | /r/haskell | 28 Feb 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 17 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

What are some of the best open-source SQL projects in Haskell? This list will help you:

# Project Stars
1 postgrest 25,115
2 hstream 722
3 beam 596
4 selda 478
5 squeal-postgresql 371
6 rel8 158
7 codd 39
8 sql-simple-mysql 1

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai