Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Postgresql and bool
Re: Postgresql and bool [message #22963 is a reply to message #22956] Thu, 03 September 2009 09:27 Go to previous messageGo to previous message
Zbych is currently offline  Zbych
Messages: 326
Registered: July 2009
Senior Member
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")


but there is SqlToBool that solves my problem.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Postgresql - execpt vs minus
Next Topic: Postgres library improvements
Goto Forum:
  


Current Time: Wed May 15 22:47:45 CEST 2024

Total time taken to generate the page: 0.01566 seconds