Field('condition', requires=IS_IN_SET(['IsEqual','IsNotEqual','IsGreater', 'IsLesser','IsNull','IsNotNull','Likeliness','IsMatch','IsNotMatch','In', 'NotIn','Found','NotFound']))
Il giorno giovedì 27 dicembre 2012 13:30:04 UTC+1, ajith c t ha scritto: > > > > Field('condition', > enum('IsEqual','IsNotEqual','IsGreater','IsLesser','IsNull','IsNotNull','Likeliness','IsMatch','IsNotMatch','In','NotIn','Found','NotFound'), > > notnull=True), > > the above syntax gives me error while defining the table in web2py. how > can one specify an enum datatype in web2py table definition > --