| std::optional< TableInfo > sqt::Database::GetTableInfo | ( | std::string_view | table_name | ) |
Gets information of the specified table.
| table_name | The name of the table. |
| sqt::SQLError | Thrown if fails to get the table information. |
This method executes the pragma table_info statement to get the table information.