I need to get the dependencies seen, that is, which objects of the database need to be created before the view in question.
Example:
- Tables
- Functions
- Views (if it depends on another view)
I tried to consult the table information_schema.views but it does not give me the information I need since it shows me only the following fields:
In the field VIEW_DEFINITION you will find the creation code of the view, which you could use to analyze it and extract the objects involved in some way, but I really do not know how to do it.
Is there any way to find the dependencies of the views in MySQL?