how would I loop over a list of table names to insert something into
each of them?

like:

---
tables = [table1, table2, table3]

for table in tables:
  db.table.insert(field="something")
---

this oviously fails because there is no table named "table".

Any hints?

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to