You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I have unusual type of connection. My connection class works with one database for some tables, and another database - for other tables. And when I need to use listTableDetails function ($connection->getSchemaManager()->listTableDetails($tableName)) I should set some parameters for database before using this function, and return them back after.
Is it possible to add second optional parameter for listTableDetails function as $database? And the same to the listTableIndexes function as a result (lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php) ?
The text was updated successfully, but these errors were encountered:
That would make sense. Other schema introspection methods like listTableColumns() and listTableForeignKeys() already accept an optional $database argument.
Feature Request
Summary
Hello!
I have unusual type of connection. My connection class works with one database for some tables, and another database - for other tables. And when I need to use listTableDetails function ($connection->getSchemaManager()->listTableDetails($tableName)) I should set some parameters for database before using this function, and return them back after.
Is it possible to add second optional parameter for listTableDetails function as $database? And the same to the listTableIndexes function as a result (lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php) ?
The text was updated successfully, but these errors were encountered: