Module 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§

TableExtractor
A visitor to extract tables from SQL.
TableReference
TableReference represents a qualified table with alias. In this crate, this is the canonical representation of a table. Tables found during analyzing an AST are stored as TableReference.
Tables
Tables represents a list of TableReference that found in SQL.

Functions§

extract_tables
Convenience function to extract tables from SQL.