d2sqlite3 1.0.0
A thin wrapper around SQLite 3
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
D2Sqlite3
This is a small wrapper around SQLite 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
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.jsonfile using thelflagssetting:
"lflags": ["-L/path/to/lib"]
`without-lib`: you manage linking SQLite yourself.
`all-included`: on Windows, use a prebuilt SQLite DLL (bundled with this library); on Posix systems, builds SQLite from the source amalgamation (bundled with this library), using the default building configuration with these options defined:
SQLITEENABLECOLUMN_METADATA
SQLITEENABLEUNLOCK_NOTIFY
Set the right configuration for you project in its dub.json file using the subConfigurations setting, e.g.:
"subConfigurations": {
"d2sqlite3": "all-included"
}
Library versions
These versions can be used to build the library:
SqliteEnableColumnMetadata: to enable corresponding special methods ofRow.SqliteEnableUnlockNotify: to enable SQLite's builtin unlock notification mechanism.SqliteFakeUnlockNotify: to emulate an unlock notification mechanism.
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.
- 1.0.0 released 4 years ago
- dlang-community/d2sqlite3
- github.com/dlang-community/d2sqlite3
- BSL-1.0
- Copyright 2011-18 Nicolas Sicard
- Authors:
- Dependencies:
- none
- Versions:
-
Show all 46 versions1.0.0 2021-Jun-10 0.19.1 2020-Jul-21 0.19.0 2020-Jul-21 0.18.3 2019-Aug-06 0.18.2 2019-Jun-25 - Download Stats:
-
-
20 downloads today
-
151 downloads this week
-
743 downloads this month
-
47168 downloads total
-
- Score:
- 4.6
- Short URL:
- d2sqlite3.dub.pm