This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

What's the chance of a true Boolean data type in MariaDB?

As a MySQL user, I've often been bothered by the lack of a true Boolean data type in MySQL. Is there any chance this omission will be filled in MariaDB?

And yes, I know there are workarounds.

Answer Answered by Ian Gilfillan in this comment.

Currently BIT(1) is a true boolean type. It is not called "boolean" but it has all properties and the behavior of a boolean type.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.