mindplay-dk / sql

Database framework and query builder
Other
18 stars 6 forks source link

Bool vs three-state Types #14

Closed mindplay-dk closed 8 years ago

mindplay-dk commented 8 years ago

The current BoolType is nullable, which technically makes it a three-state type.

We should probably distinguish BoolType vs NullableBoolType.

mindplay-dk commented 8 years ago

Oops, no - wrong! At the Type absraction level, all Types must support NULL.

The Column module specifies whether the individual column allows NULL or not.