Yields (parent_schema, parent_table, parent_column, child_schema, child_table, child_column) typles
(self)
| 355 | yield (row[0], row[1]) |
| 356 | |
| 357 | def get_foreign_keys(self): |
| 358 | """ Yields (parent_schema, parent_table, parent_column, child_schema, child_table, |
| 359 | child_column) typles""" |
| 360 | query = mssqlqueries.get_foreignkeys() |
| 361 | logger.info(u'Foreign keys query: %s', query) |
| 362 | for tabular_result in self.execute_query(query): |
| 363 | for row in tabular_result[0]: |
| 364 | yield ForeignKey(*row) |
| 365 | |
| 366 | def shutdown(self): |
| 367 | self.sql_tools_client.shutdown() |
no test coverage detected