Thanks!
On Friday, August 2, 2013 9:48:49 PM UTC+8, Anthony wrote:
>
> You mean you get an error when inserting duplicate data? Note, unique=True
> is enforced by the database, not web2py, so violating it will simply result
> in a database error (which results in a web2py ticket if you don't
>
You mean you get an error when inserting duplicate data? Note, unique=True
is enforced by the database, not web2py, so violating it will simply result
in a database error (which results in a web2py ticket if you don't
explicitly catch the error yourself). Instead, you want to use the
IS_NOT_IN_
2 matches
Mail list logo