【发布时间】:2010-11-21 20:10:40
【问题描述】:
我不敢相信following statement 似乎仍然是真的
So, I switched to integers and 0 or 1 works fine, but it is
stupid, that the database system has boolean variables of a smaller
size, but I should use integers for boolean values!
如何在 Postgres / PHP 中使用布尔数据类型?
换句话说,
在获取布尔数据类型的种类时,是否只有使用 1 表示真和 0 表示假?
【问题讨论】:
标签: php postgresql boolean