Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using existing database #71

Open
mswastik opened this issue Apr 27, 2021 · 1 comment
Open

Using existing database #71

mswastik opened this issue Apr 27, 2021 · 1 comment

Comments

@mswastik
Copy link

mswastik commented Apr 27, 2021

I already have a database, I am using SQLAlchemy to interact with it. I have currently mapped database tables to SQLAlchemy objects as mentioned below.
Base = automap_base()
Material = Base.classes.app1_material
Customer = Base.classes.app1_customer

Can you share how to extend sqlalchemy-mixins to these classes?

@michaelbukachi
Copy link
Collaborator

Have you tried using explicit classes as specified here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants