Is there a way to diff 2 seperate MetaData obejct? #6340
Unanswered
dvaerum
asked this question in
Usage Questions
Replies: 1 comment 1 reply
-
your best bet is to use alembic's feature , see the example at https://alembic.sqlalchemy.org/en/latest/api/autogenerate.html#alembic.autogenerate.compare_metadata . you would skip the meta.reflect() part, it does it's own thing internally. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a MetaData object for a Database, created by using
reflect
and I would like to know how it is different from the one I build myself using
declarative_base()
Beta Was this translation helpful? Give feedback.
All reactions