Answer the question
In order to leave comments, you need to log in
How to transfer data from MySQL shema to class for use in flask sqlalchemy?
There is a mysql database. It contains hundreds of tables and fields.
Do not manually write a description for each table and field, in the form:
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
username = db.Column(db.String(80), unique=True)
email = db.Column(db.String(120), unique=True)
Answer the question
In order to leave comments, you need to log in
Your question is very closely related to stackoverflow.com/questions/1425412/reverse-engine...
Use sqlautocode .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question