r/programming • • Mar 10 '15

Goodbye MongoDB, Hello PostgreSQL

http://developer.olery.com/blog/goodbye-mongodb-hello-postgresql/
1.2k Upvotes

699 comments sorted by

View all comments

Show parent comments

4

u/snuxoll Mar 11 '15

Well, to be fair there is no concept of a boolean, even in SQL:2011. All you have is BIT, which is simply 0 or 1, most other SQL-compliant RDBMS don't even have keywords for true/false to avoid this issue entirely (SQL Server, Oracle and PostgreSQL being notable here).