db.export_to_csv_file(open(filename,'w'))

db.import_from_csv_file(open(filename,'r'))


On Jan 18, 1:18 am, Miguel <[email protected]> wrote:
> Hi
>
> Is there an easy way to export and import (.csv) all the tables of a
> given application at once?
> In the admin UI I can export tables individually but I did not find a
> way of exporting all at them at once.
>
> It would be really useful for testing and while working on the same
> application across multiple computers.
>
> Thanks
> -Miguel
-- 
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