Skip to content

Conversation

@cofin
Copy link
Member

@cofin cofin commented Nov 21, 2025

Introduce methods for topological sorting of tables and retrieval of foreign key metadata across multiple database adapters. Update metadata class patterns and improve test isolation in examples. Add integration tests to validate new functionalities.

@cofin cofin force-pushed the feat/sorted-tables branch from 74fcac0 to c4afc56 Compare November 21, 2025 18:23
cofin and others added 6 commits November 21, 2025 14:16
…atabase adapters

- Added `get_tables_in_topological_order` method to DuckDB, OracleDB, Psycopg, and SQLite data dictionaries to retrieve tables in dependency order.
- Introduced `get_foreign_keys` method to DuckDB, OracleDB, Psycopg, and SQLite data dictionaries for fetching foreign key metadata.
- Enhanced index retrieval methods in OracleDB, Psycopg, and SQLite data dictionaries.
- Created integration tests for topological sorting and foreign key metadata in AioSQLite and AsyncPG adapters.
- Added `ForeignKeyMetadata`, `ColumnMetadata`, and `IndexMetadata` classes to the common driver module for structured metadata representation.
@cofin cofin force-pushed the feat/sorted-tables branch from ae38208 to 0172917 Compare November 21, 2025 20:16
@cofin cofin merged commit c7b9bdb into main Nov 21, 2025
10 checks passed
@cofin cofin deleted the feat/sorted-tables branch November 21, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants