I personally find this `get*SQL()` API creepy. It forces you to squeeze all the logic into a single query and implicitly agree on the column naming.    It would be much better if the schema manager itself just fetched the necessary data for itself.    See how https://github.com/doctrine/dbal/pull/4548 implements `AbstractSchemaManager::listSchemaNames()` for example.