db.export_to_csv_file(open('/path/to/my/file.txt', 'w'))

and then when you switch your DAL over...

db.import_from_csv_file(open('/path/to/myfile.txt', 'r'))

-Thadeus




On Tue, Dec 22, 2009 at 3:07 PM, Adolfo <avizca...@gmail.com> wrote:

> Hello
>
> I've been working with sqlite for develpment but now that i have
> finish with my app id like to use postgress. So i'd like to know if
> someone know a simple way of migrating the data in my Sqlite database
> to the one in Postgress.
>
> Thanks
>
> Adolfo
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to
> web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/web2py?hl=en.
>
>
>

--

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


Reply via email to