Description

A dynamic binding to the libpq library.

Package Information

Version2.2.0 (2016-Oct-17)
Homepage https://github.com/DerelictOrg/DerelictPQ
Repository https://github.com/DerelictOrg/DerelictPQ
LicenseBoost
AuthorsAnton Gushcha, Mike Parker
Registered byMike Parker
Dependencies

derelict-util

Installation

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

dub.json
dub.sdl

Readme

DerelictPQ

A dynamic binding to the libpq library version 9.6 for the D Programming Language.

Please see the Derelict documentation for information on how to build DerelictPQ and load libpq at run time. In the meantime, here's some sample code.

import derelict.pq.pq;

void main() {
    // Load the Postgres library.
    DerelictPQ.load();

    // Now libpq functions can be called.
    ...
}

Available versions

2.2.0 2.1.0 2.0.3 2.0.2 2.0.1 2.0.0 1.0.2 1.0.1 1.0.0 ~master ~9.6 ~9.5 ~9.3a