Module sql_insight::extractor::table_extractor
source · Expand description
A Extractor that extracts tables from SQL queries.
See extract_tables as the entry point for extracting tables from SQL.
Structs§
- A visitor to extract tables from SQL.
TableReferencerepresents a qualified table with alias. In this crate, this is the canonical representation of a table. Tables found during analyzing an AST are stored asTableReference.Tablesrepresents a list ofTableReferencethat found in SQL.
Functions§
- Convenience function to extract tables from SQL.