Hi,

In the web2py book I've seen simple delete queries like:

db(db.person.id > 3).delete()

where it's easy to understand that the persons with id > 3 will be
deleted from db.person.id

but what if i want to delete rows selected with this query:

db((db.keyword.id!=db.users_keywords.keyword_id)&(db.keyword.dictionary==dictionary)).delete()

It will say that too many tables are involved and will hang.

So how i can delete that set of rows quickly ?


Thanks


-- 
Vincenzo Ampolo
http://vincenzo-ampolo.net
http://goshawknest.wordpress.com

Reply via email to