That's what web2py does. T or F as opposed to 1 and 0. You can argue both ways but not all database backend support boolean and when they do they may have odd behaviour (like NULL value not allowed). This a feature not a bug. ;-)
Massimo On Feb 23, 3:47 pm, Jose C <[email protected]> wrote: > Hi Massimo, > > Setting a field to Boolean type in the model actually creates a CHAR > (1) field in the backend database (instead of BOOLEAN). This occurs > in sqlite as well as postgresql - ver:745 of source. > > JC --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

