Skip to content
SPECIFICTION
Get listed

Beam

haskell-beam.github.io

WindowsmacOSLinuxAPI

Spec sheet

What it does
Beam is a Haskell library for accessing databases and generating SQL from Haskell expressions.Read 14 Nov 2026 · haskell-beam.github.io
Intended users
Beam is aimed at Haskell developers who want to work with relational databases from Haskell.Read 14 Nov 2026 · haskell-beam.github.io
Support
The project directs users to its mailing list for questions and GitHub issues for bugs or feature requests.Read 14 Nov 2026 · haskell-beam.github.io
Additional backends
The documentation lists DuckDB, MySQL and MariaDB backends, among others.Read 14 Nov 2026 · haskell-beam.github.io
Extensibility
Independent backends can be shipped without modifying Beam's core libraries.Read 14 Nov 2026 · haskell-beam.github.io
Included backends
The main repository includes Postgres and SQLite backends.Read 14 Nov 2026 · haskell-beam.github.io
Installation
Beam is available through Hackage and Stackage and can be added to Stack projects.Read 14 Nov 2026 · haskell-beam.github.io
Migrations
Beam provides basic infrastructure for managing versions of a database schema.Read 14 Nov 2026 · haskell-beam.github.io
Query syntax
Beam provides a Haskell-friendly query syntax using its Q monad.Read 14 Nov 2026 · haskell-beam.github.io
Schema generation
Beam can generate schemas from existing databases.Read 14 Nov 2026 · haskell-beam.github.io
SQL support
Beam supports many SQL92, SQL99 and SQL2003 features where supported by the selected backend.Read 14 Nov 2026 · haskell-beam.github.io
SQLite compatibility
Some SQL examples may not work with SQLite because it does not support all SQL92 features.Read 14 Nov 2026 · haskell-beam.github.io
Type system
Beam uses the GHC Haskell type system and does not rely on Template Haskell.Read 14 Nov 2026 · haskell-beam.github.io

Where Specifiction places it

Alternatives to BeamAll alternatives →