Has anyone used the libpqxx C++ API for PostgreSQL

Started by Andrew Falangaover 19 years ago2 messagesgeneral
Jump to latest
#1Andrew Falanga
af300wsm@gmail.com

Hello everyone,

If anyone here has, would you please share with me how to create the
connections, perform a query and then iterate over its results? I've
been reading through the online documentation for this library at
http://thaiopensource.org/devprojects/libpqxx/doc/2.6.8/html/Reference/
and I'm simply not getting what I need. I've looked through the
tutorial and I've gotten enough that I think I can make a connection to
the database. However, I'm just drawing a blank on how to use this
library beyond that.

If you know, or know who I should ask, I'd appreciate it.

Thanks,
Andy

#2Sandeep Kumar Jakkaraju
sandeepkumar.jakkaraju@gmail.com
In reply to: Andrew Falanga (#1)
Re: Has anyone used the libpqxx C++ API for PostgreSQL

Hi

There are several Example C++ programs which comes with libpqxx ...
just go through them for creating connection/transaction etc....

If you have struct member alignment problem ... please go through my blog ..
http://jakkarajus.blogspot.com

On 21 Dec 2006 10:01:22 -0800, af300wsm@gmail.com <af300wsm@gmail.com>
wrote:

Hello everyone,

If anyone here has, would you please share with me how to create the
connections, perform a query and then iterate over its results? I've
been reading through the online documentation for this library at
http://thaiopensource.org/devprojects/libpqxx/doc/2.6.8/html/Reference/
and I'm simply not getting what I need. I've looked through the
tutorial and I've gotten enough that I think I can make a connection to
the database. However, I'm just drawing a blank on how to use this
library beyond that.

If you know, or know who I should ask, I'd appreciate it.

Thanks,
Andy

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

--
Sandeep Kumar Jakkaraju
WeBlog: