db.table.truncate() on a table with migrate=False produces a error. Is
that only allowed on table with migrate on?
Hans
Using web2py 1.64.1 with MySQL
Traceback (most recent call last):
File "F:\Documents and Settings\Hans\Desktop\web2py\<string>", line
1, in <module>
File "F:\Documents and Settings\Hans\Desktop\web2py\gluon\sql.py",
line 1571, in truncate
if self._dbt:
File "F:\Documents and Settings\Hans\Desktop\web2py\gluon\sql.py",
line 1209, in __getattr__
return dict.__getitem__(self,key)
KeyError: '_dbt'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---