About

Metadata

  • Last updated , by DanielDiazCarrete
  • License BSD-3-Clause
  • Categories Databases
  • Maintained by: Daniel Díaz

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.12.2
  2. 9.10.1
  3. 9.8.4

Readme

dani-sqlite

An amalgamated fork of Irene Knapp's direct-sqlite and Janne Hellsten's sqlite-simple.

  • Unlike direct-sqlite, it doesn't include the code for the C library, so you'll have to install the library separately.

    Example of cabal.project.local pointing to local libs on Windows:

    package dani-sqlite
        extra-include-dirs: C:/Users/somefolder/sqlite-amalgamation-3350300
        extra-lib-dirs: C:/Users/somefolder/sqlite-dll-win64-x64-3350300
  • Requires SQLite >= 3.37.0.

  • Supports sqlite3_open_v2.

  • Supports extended result codes.

  • Unlike sqlite-simple, this library doesn't have a time type.

  • Unlike sqlite-simple, this library doesn't have a quasiquoter.

I see very little reason to not use CApiFFI if your project doesn't need to work on old GHCs.

Acknowledgements