sqlalchemy import create_engine
from sqlalchemy.pool import NullPool
to_engine = create_engine('sqlite:///%s' % temp_file_name,
poolclass=NullPool)
Lance
On Mon, 2010-08-16 at 21:08 +0200, Jeroen Dierckx wrote:
Hello all,
I am trying to export data from a MySQL database to a sqlite database
Hello all,
I am trying to export data from a MySQL database to a sqlite database
using SqlAlchemy.
I am using 2 engines for each database ( from and to ).
This is the part that creates the sqlite engine:
to_engine = create_engine(u'sqlite:///%s'%temp_file_name)
to_meta_data = MetaData()