Forget my last example, This is the working code:
[ db.tag.insert(name=t) for t in TAGS if db(db.tag).count() <= len(TAGS) ] The code that @vinicius posted works prefectly too -- Bruno Rocha http://about.me/rochacbruno/bio
Forget my last example, This is the working code:
[ db.tag.insert(name=t) for t in TAGS if db(db.tag).count() <= len(TAGS) ] The code that @vinicius posted works prefectly too -- Bruno Rocha http://about.me/rochacbruno/bio