GetTableColumns

Class: TMMConnection

function GetTableColumns(const ATableName: string; out AColumns: TMMColumnInfoArray): Boolean;

Retrieves INFORMATION_SCHEMA.COLUMNS metadata for all columns of a table, returning an array of TMMColumnInfo records ordered by ORDINAL_POSITION.
Sets AColumns to nil on failure.


GetTablesColumns

Class: TMMConnection

function GetTablesColumns(const ATableNames: TArray<string>; out AResult: TDictionary<string, TMMColumnInfoArray>): Boolean;

Retrieves column metadata for multiple tables in a single HTTP call.
AResult maps each table name to its TMMColumnInfoArray; the caller must free the returned TDictionary. Dictionary keys are normalised to lowercase, so lookups must use LowerCase(TableName) to match correctly (relevant when the server runs with lower_case_table_names = 2).
Returns False on network or server error;
AResult is nil on failure.


See Also

(C) 2026 Easygate, Lda