MIT licensed by Travis Athougies
Maintained by [email protected]
This version can be pinned in stack with:beam-sqlite-0.5.1.1@sha256:c47a491943dfd45f78052f00ebc291507711e677234502a7d868eb324d34d54a,3671

Module documentation for 0.5.1.1

beam-sqlite: Beam backend for the SQLite embedded database

beam-sqlite is a beam backend for the SQLite embedded database.

SQLite is mostly standards compliant, but there are a few cases that beam-sqlite cannot handle. These cases may result in run-time errors. For more information, see the documentation. Due to SQLite’s embedded nature, there are currently no plans to get rid of these. However, proposals and PRs to fix these corner cases are welcome, where appropriate.

Changes

0.5.1.1

Added features

  • GHC 9.2 and 9.0 support

Bug fixes

  • Support inserting default values for all columns (except with upsert)

0.5.1.0

Added features

  • MonadBase and MonadBaseControl instances for SqliteM

0.5.0.0

Interface changes

  • Removed instances for machine-dependent ambiguous integer types Int and Word

Added features

  • Support for in_ on row values
  • Upsert support using HasInsertOnConflict
  • Fix build on Android and OpenBSD

Bug fixes

  • Fix emitting and detection of DECIMAL and DOUBLE PRECISION types
  • Fix bitLength, charLength_, and octectLength_ by emulating with CAST and LENGTH
  • Fix runInsertReturningList for when the database column order and beam column order disagree.

0.4.0.0

0.3.2.0

Add Semigroup instances to prepare for GHC 8.4 and Stackage nightly

0.3.1.0

Add runBeamSqlite and runBeamSqliteDebug functions

0.3.0.0

  • Re-introduce backend parameter to Database class

0.2.0.0

First split of sqlite backend from main beam package