d2sqlite3 0.14.0

A thin wrapper around SQLite 3


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

D2Sqlite3

Build Status Coverage Status Dub Downloads

This is a small wrapper around SQLite (version >= 3.8.7) for the D programming language. It wraps the C API in an idiomatic manner and handles built-in D types and Nullable!T automatically.

Documentation

Online documentation

dub configurations

  • `with-lib` (the default): assumes that SQLite is already installed and available to the linker. Set the right path for the SQLite library in your project's dub.json file using the lflags setting:
    "lflags": ["-L/path/to/lib"]
  • `without-lib`: you manage linking SQLite yourself.
  • `all-included` (work in progress): on Windows, use a prebuilt SQLite DLL (bundled with this library); on Posix systems, builds SQLite from the source amalgamation (also bundled with this library), using a minimal building configuration.

Set the right configuration for you project in its dub.json file using the subConfigurations setting, e.g.:

    "subConfigurations": {
        "d2sqlite3": "all-included"
    }

C binding generation

The D binding file sqlite3.d is generated from the C header file sqlite3.h, using jacob-carlborg/dstep. I try to keep it up to date.

Authors:
  • Nicolas Sicard
  • Other contributors: see Github repo
Dependencies:
none
System dependencies:
SQLite version >= 3.8.7
Versions:
0.18.1 2018-Nov-25
0.18.0 2018-Nov-24
0.17.1 2018-Sep-21
0.17.0 2018-Sep-10
0.16.2 2018-Jun-29
Show all 41 versions
Download Stats:
  • 12 downloads today

  • 104 downloads this week

  • 598 downloads this month

  • 7745 downloads total

Score:
4.3
Short URL:
d2sqlite3.dub.pm