From: | Torsten Zühlsdorff <foo(at)meisterderspiele(dot)de> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: PHP and PostgreSQL boolean data type |
Date: | 2010-02-10 14:15:18 |
Message-ID: | hkuf1n$phl$1@news.eternal-september.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-php |
Thom Brown schrieb:
> A long-standing problem we've had with PostgreSQL queries in PHP is
> that the returned data for boolean columns is the string 'f' instead
> of the native boolean value of false.
This problem is solved since nearly 5 years with PDO. You can use an
abstraction like DDDBL (see my signature) if you want to save time while
using PDO.
Greetings from Germany,
Torsten
--
http://www.dddbl.de - ein Datenbank-Layer, der die Arbeit mit 8
verschiedenen Datenbanksystemen abstrahiert,
Queries von Applikationen trennt und automatisch die Query-Ergebnisse
auswerten kann.
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2010-02-10 14:31:07 | Re: Orafce concat operator |
Previous Message | Yeb Havinga | 2010-02-10 14:04:43 | Orafce concat operator |
From | Date | Subject | |
---|---|---|---|
Next Message | Chris | 2010-02-10 21:56:36 | Re: [PHP] PHP and PostgreSQL boolean data type |
Previous Message | Thom Brown | 2010-02-10 12:44:35 | Re: PHP and PostgreSQL boolean data type |