Thread: PQexecPrepared and boolean type coding,

PQexecPrepared and boolean type coding,

From
Mauro Ziliani
Date:
Hi all.
I'm working on a project where I need to assign a boolean value  to a
table field, using PQexecParams.
Indeed I'm using a wrapper for this command. The library is
DatabaseLayer of wxCode site.

1. I prepared the statement
UPDATE customers SET flag=?

Which is the coding form the set a boolean field with PQexecPrepared?

Best regards,
   Mauro

--
skype: mauroziliani
www: http//www.faresoftware.it
linkedin: http://it.linkedin.com/in/mauroziliani
twitter: http://twitter.com/#!/mauzil