BIT type is useful for storing bit-field values.
BIT(M) allows storage of up to M-bit values where M is in the range of
1 to 64
You can also specify values with
bit value notation.
b'111' -> 7 b'10000000' -> 128
Sometimes it is handy to use 'shift' to construct a single-bit value, for example
(1 << 7) for 128.
The maximum combined size of all BIT columns in an
NDB table is 4096.