Giter Club home page Giter Club logo

d2sqlite3's Introduction

D2Sqlite3

Build Status Dub Downloads

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

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: 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:

    • SQLITE_ENABLE_COLUMN_METADATA
    • SQLITE_ENABLE_UNLOCK_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 of Row.
  • 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.

d2sqlite3's People

Contributors

ag0aep6g avatar aka-demik avatar andrejmitrovic avatar biozic avatar colonelthirtytwo avatar denizzzka avatar geod24 avatar hackerpilot avatar martinnowak avatar mdparker avatar n8sh avatar npadmana avatar rjframe avatar tchaloupka avatar thesuess avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.