It really runs these validators during table definition, and not just in 
time when used? So its better to define this requires= ... in controller 
where this is used?

David

Dne úterý, 15. ledna 2013 9:23:43 UTC+1 rochacbruno napsal(a):
>
>
> On Tue, Jan 15, 2013 at 6:20 AM, Daniel Gonzalez 
> <gonv...@gmail.com<javascript:>
> > wrote:
>
>> IS_NOT_IN_DB(db, '%s.email' % (web2py_user_table))
>
>
> If you too many records on user table, the above code will take a long 
> time, because on every request it will "select email from auth_user...."
>
>
>
>

-- 



Reply via email to