Query\Drivers\DriverInterface::getSchemas

Return schemas for databases that list them. Returns database list if schemas are databases for the current driver.