I can't believe the next statement is still true
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!
How do you use a boolean data type using Postgres / PHP?
In other words,
The only way to use 1 for true and 0 for false in getting a boolean data type?
php postgresql boolean
Léo Léopold Hertz 준영
source share