python - Is it possible to use pypyodbc with SQLAlchemy/alembic? -


i have misfortune of being stuck db2 on as400.

fortunately, can connect pypyodbc on windows , linux (through unixodbc).

i use alembic handle table migrations. of course there's no dialect db2 on iseries, plan on doing this:

from sqlalchemy.sql import text conn = op.get_bind() conn.execute(text('''create table blah_blah (stuff );''')) 

though i'm not sure if alembic able create/insert stuff version table on database...

is possible (without like, patching alembic/sqlalchemy)?


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -