statement_table_name

Function statement_table_name 

Source
pub fn statement_table_name(statement: &PlanStatement) -> Option<&str>
Expand description

Return the table name referenced by a plan statement, if any.

This is a small helper used by higher-level engines (for example the SQL front-end) to provide better error messages when a statement fails with a table-related error. It intentionally returns an Option<&str> so callers can decide how to report missing table context.