The lmdb-simple package

[Tags:benchmark, bsd3, library, test]

This package provides a simple API for using the Lightning Memory-mapped Database (LMDB).


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.3.1.0
Dependencies base (>=4.7 && <5), bytestring (==0.10.*), lmdb (==0.2.*), serialise (==0.1.*) [details]
License BSD3
Copyright © 2017 Robert Leslie
Author Rob Leslie
Maintainer rob@mars.org
Category Database
Home page https://github.com/verement/lmdb-simple#readme
Bug tracker https://github.com/verement/lmdb-simple/issues
Source repository head: git clone https://github.com/verement/lmdb-simple.git
Uploaded Wed Aug 9 02:23:43 UTC 2017 by RobLeslie
Distributions NixOS:0.3.1.0
Downloads 111 total (111 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-08-09 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for lmdb-simple

Readme for lmdb-simple-0.3.1.0

Simple Haskell API for LMDB

This package allows you to store arbitrary Haskell values in and retrieve them from a persistent Lightning Memory-mapped Database on disk.

LMDB is a high-performance ACID-compliant no-maintenance read-optimized key-value store. Any Haskell value with a Serialise instance can be stored in an LMDB database, or used as a key to index one.

This package provides a few different APIs for using LMDB:

  • The basic API provides transactional put and get functions to store and retrieve values from an LMDB database.

  • The extended API provides many functions similar to those in Data.Map, e.g. lookup, insert, delete, foldr, and so on.

  • The View API provides a read-only snapshot of an LMDB database that can be queried from pure code.

  • The DBRef API provides a mutable variable similar to IORef that is tied to a particular key in an LMDB database.