Need example of usage DerelictPQ

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Dec 24 18:23:27 PST 2014


On 12/24/2014 8:56 PM, Suliman wrote:
> Could anybody provide any simple examples of usage DerelictPQ. I do not
> have experience of C, and I can't understand how to use this driver.
>
> I need just basics like connect, select and insert.
>
> http://code.dlang.org/packages/derelict-pq
>
> thanks!

DerelictPQ is only a binding to libpq. The only difference is the 
DerelictPQ.load method. Just follow the libpq documentation.

http://www.postgresql.org/docs/9.1/static/libpq.html


More information about the Digitalmars-d-learn mailing list