U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » Postgresql and bool
Re: Postgresql and bool [message #22984 is a reply to message #22963] Fri, 04 September 2009 14:28 Go to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
[quote title=Zbych wrote on Thu, 03 September 2009 03:27]
luzr wrote on Wed, 02 September 2009 17:57

I am sorry for the trouble, but there seems to be no really correct solution...


It is ok. I just don't like idea of testing bools as strings:

if (sql[ROLCREATEROLE] == "1")


Neither do I. But they had that great idea to make them incompatible with C/C++...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Postgresql - execpt vs minus
Next Topic: Postgres library improvements
Goto Forum:
  


Current Time: Thu Sep 10 15:25:29 GMT+2 2026

Total time taken to generate the page: 0.01057 seconds