Get connected databases info
Hi
Whether there is a way to get all available databases (datasources) for current project and get some meta-information about them like displayed in database plugin (table names, column names, etc.) ?
Thanks.
Please sign in to leave a comment.
The entry point is a project component
com.intellij.database.psi.DbPsiFacade
The database model API (tables, columns, etc.) is in the package
com.intellij.database.model
So you do something like this: