Need example of usage DerelictPQ

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


On 12/25/2014 11:23 AM, Mike Parker wrote:
> 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

Actually, Derelict binds to version 9.3, so the proper link should be

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


More information about the Digitalmars-d-learn mailing list