dani-sqlite: Low-level binding to Sqlite3.

[ bsd3, database, library ] [ Propose Tags ] [ Report a vulnerability ]

Low-level binding to Sqlite3. UTF8 and BLOB support. sqlite library not included.


[Skip to Readme]

library dani-sqlite

library dani-sqlite:bindings

Modules

[Index] [Quick Jump]

  • Sqlite
    • Sqlite.Bindings
    • Sqlite.Types

library dani-sqlite:direct

Modules

[Index] [Quick Jump]

  • Sqlite
    • Sqlite.Direct

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.16.0.0 && <5), bytestring (>=0.9.2.1 && <0.13), dani-sqlite, text (>=2.0 && <2.2) [details]
Tested with ghc ==9.10.1 || ==9.12.2
License BSD-3-Clause
Copyright Copyright (c) 2022 - 2022 Daniel Díaz
Author Daniel Díaz <diaz_carrete@yahoo.com>
Maintainer Daniel Díaz <diaz_carrete@yahoo.com>
Category Database
Home page https://github.com/danidiaz/dani-sqlite
Bug tracker https://github.com/danidiaz/dani-sqlite/issues/new
Source repo head: git clone git@github.com:danidiaz/dani-sqlite.git
Uploaded by DanielDiazCarrete at 2025-12-14T21:49:30Z
Distributions
Downloads 2 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2025-12-14 [all 2 reports]

Readme for dani-sqlite-0.1.0.0

[back to package description]

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