Beam is a Haskell interface to relational databases. Beam uses the Haskell type system to verify that queries are type-safe before sending them to the database server. Queries are written in a straightforward, natural monadic syntax. Combinators are provided for all standard SQL92 features, and a significant subset of SQL99, SQL2003, and SQL2008 features. Beam is standards-compliant but not naive. We recognize that different database backends provide different guarantees, syntaxes, and advantages. To reflect this, Beam maintains a modular design. While the core package provides standard functionality, Beam is split up into a variety of backends which provide a means to interface Beam's data query and update DSLs with particular RDBMS backends. Backends can be written and maintained independently of this repository. For example, the beam-MySQL and beam-firebird backends are packaged independently.

Features

  • Type-safe
  • Non-TH Haskell relational database
  • Database ibrary and ORM
  • beam-core has in-depth unit tests to test query generation over an idealized ANSI SQL-compliant backend
  • Beam uses mkdocs for its documentation generation
  • Beam is standards compliant

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Beam

Beam Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Beam!

Additional Project Details

Programming Language

Haskell

Related Categories

Haskell Libraries, Haskell Object-Relational Mapping (ORM) Software

Registered

2023-04-12