Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 658 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 658 Bytes

DerelictPQ

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

Please see the sections on Compiling and Linking and The Derelict Loader in 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.
    ...
}