/dani-sqlite

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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.

Links

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

Acknowledgements