@hackage / direct-sqlite

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

Latest2.3.29

About

Metadata

  • Last updated , by jchia
  • License BSD-3-Clause
  • Categories Databases
  • Maintained by: Joshua Chia <joshchia@gmail.com>

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 9.8.1
  2. 9.6.4
  3. 9.4.8
  4. 9.2.8
  5. 9.0.2
  6. 8.10.7
  7. 8.8.4

Package Flags

Use the -f option with cabal commands to enable flags

    systemlib (off by default)

    Use the system-wide sqlite library

    fulltextsearch (on by default)

    Enable full-text search when using the bundled sqlite library

    urifilenames (on by default)

    Enable URI filenames when using the bundled sqlite library

    haveusleep (on by default)

    Enable use of os function usleep.

    json1 (on by default)

    Enable json1 extension.

    mathfunctions (off by default)

    Enable built-in mathematical functions

    dbstat (on by default)

    Enable dbstat virtual table

Readme

This package is not very different from the other SQLite3 bindings out there, but it fixes a few deficiencies I was finding. As compared to bindings-sqlite3, it 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.