The following two lines of code are often used in the web2py book: 1. db.define_table('person', Field('name', unique=True)) 2. db.person.name.requires = IS_NOT_IN_DB(db, 'person.name')
Well, given that line 1 already avoids race condition at the database level, isn't line 2 more or less redundant? Thanks in advance for your opinion.