On Thursday, May 10, 2012 8:36:18 PM UTC+10, rochacbruno wrote:
>
> db.define_table('nm', Field('a', notnull=True),  Field('b', notnull=True), 
> Field('unikey', unique=True))
>
> db.nm.unikey.compute = lambda row: row.a + row.b
>
Thanks, but that didn't work. I am able to push in multiple duplicates into 
the db.

Reply via email to