I don't think that DAL has this field type.   
You can use a validator to make sure the integer is positive.  
See IS_INT_IN_RANGE and  IS_EXPR in the online book.


On Friday, November 16, 2012 4:12:45 PM UTC, Joseph.Piron wrote:
>
> Hi all!
>
> I have quite a problematic issue, I would like to know how to define a 
> Field as unsigned in the DAL ?
> I tested:
>     Field('triggerValue', 'unsigned integer', requires=IS_NOT_EMPTY(),notnull
> =True),
> and 
>     Field('triggerValue', 'integer', unsigned=True, requires=IS_NOT_EMPTY
> (), notnull=True),
>
> But it does not work. 
> Could someone please enlighten me ? :D
>
> Thanks in advance !!!
>
>

-- 



Reply via email to