Skip to main content

sql_table_schema

Function sql_table_schema 

Source
pub fn sql_table_schema<C: SqlConnection>(
    conn: &C,
    table_name: &str,
    schema: Option<&str>,
) -> Result<Option<SqlTableSchema>, IoError>
Expand description

Introspect a SQL table’s column metadata, optionally schema-scoped.

Matches the supported subset of pd.io.sql.SQLDatabase.has_table + SQLAlchemy.MetaData.reflect for column-level details. Returns Ok(None) when the table does not exist. Schema arg is silently ignored when the backend reports supports_schemas() == false (SQLite).

Per br-frankenpandas-w43q (fd90.21).