direct-sqlite: Low-level binding to SQLite3. Includes UTF8 and BLOB support.

[ bsd3, database, library ] [ Propose Tags ]

This package is not very different from the other SQLite3 bindings out there, but it fixes a few deficiencies I was finding. It is not as complete as bindings-sqlite3, but is slightly higher-level, in that it supports marshalling of data values to and from the database. In particular, it supports strings encoded as UTF8, and BLOBs represented as ByteStrings.

Release history:

Version 2.3.1
Upgrade the bundled SQLite3 to 3.7.15. Add bindings for sqlite3_interrupt. Export Int rather than CInt.
Version 2.3
Mark some FFI calls "unsafe", for a substantial performance benefit.
Version 2.2.1
Bump down text library version to match with the latest Haskell Platform.
Version 2.2
actually does what version 2.1 claimed to, since the author made a mistake with git.
Version 2.1
improves handling of invalid UTF-8 and changes error handling to be more complete. It also adds a build flag to build against the system sqlite instead of the bundled one, optionally (disabled by default).
Version 2.0
uses Text for strings instead of String.
Version 1.1.0.1
switches to the Faction packaging system and makes no other changes.
Version 1.1
adds the SQLite amalgamation file (version 3.7.5) to the project, so that there are no external dependencies.

Flags

Automatic Flags
NameDescriptionDefault
systemlib

Use the system-wide sqlite library

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0, 1.1, 2.0, 2.1, 2.2, 2.2.1, 2.3, 2.3.1, 2.3.2, 2.3.3, 2.3.3.1, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.3.11, 2.3.12, 2.3.13, 2.3.14, 2.3.15, 2.3.16, 2.3.17, 2.3.18, 2.3.19, 2.3.20, 2.3.21, 2.3.22, 2.3.23, 2.3.24, 2.3.26, 2.3.27, 2.3.28, 2.3.29
Dependencies base (>=4.1 && <5), bytestring (>=0.9.2.1 && <1), text (>=0.11 && <1) [details]
License BSD-3-Clause
Copyright Copyright (c) 2012 Irene Knapp
Author Irene Knapp <ireney.knapp@gmail.com>
Maintainer ireney.knapp@gmail.com
Category Database
Home page http://ireneknapp.com/software/
Bug tracker https://github.com/IreneKnapp/direct-sqlite/issues/new
Source repo head: git clone git://github.com/IreneKnapp/direct-sqlite.git
Uploaded by IreneKnapp at 2012-12-21T08:12:57Z
Distributions Arch:2.3.29, LTSHaskell:2.3.29, NixOS:2.3.29, Stackage:2.3.29
Reverse Dependencies 19 direct, 430 indirect [details]
Downloads 51529 total (547 in the last 30 days)
Rating 2.5 (votes: 3) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]