I created a python code to create CLI tools that visualize the database schema. But I have an issue. I have tried to read the models.py in the django project and get sql statement but I don't know how to do it.
I want to convert django model into sql query.