2136.3.4
by Brian Aker
Add documentation for BOOL/BOOLEAN type, and add a mysql compatible BOOL for |
1 |
BOOLEAN Data Type
|
2 |
=================
|
|
3 |
||
4 |
BOOLEAN
|
|
5 |
-------
|
|
6 |
||
2194.5.3
by Andrew Hutchings
Markup fixes |
7 |
The ``BOOLEAN`` type works as a ``TRUE`` and ``FALSE`` type. |
8 |
||
9 |
A value of ``TRUE`` can be assigned to a ``BOOLEAN`` column by either assigning |
|
10 |
``1``, ``TRUE``, ``"TRUE"``, ``"T"``, or ``"YES"``. |
|
11 |
||
12 |
A value of ``FALSE`` can be assigned to a ``BOOLEAN`` column by either assigning |
|
13 |
``0``, ``FALSE``, ``"FALSE"``, ``"F"``, or ``"NO"``. |
|
14 |
||
2205
by Brian Aker
Update docs for BOOLEAN |
15 |
The default value for a ``BOOLEAN`` column can only be ``TRUE`` or ``FALSE``. |