------------------------------------------------------------------------------
| 754 | |
| 755 | //------------------------------------------------------------------------------ |
| 756 | int vtkSQLDatabaseSchema::GetNumberOfColumnsInTable(int tblHandle) |
| 757 | { |
| 758 | if (tblHandle < 0 || tblHandle >= this->GetNumberOfTables()) |
| 759 | { |
| 760 | vtkErrorMacro("Cannot get the number of columns of non-existent table " << tblHandle); |
| 761 | return -1; |
| 762 | } |
| 763 | |
| 764 | return static_cast<int>(this->Internals->Tables[tblHandle].Columns.size()); |
| 765 | } |
| 766 | |
| 767 | //------------------------------------------------------------------------------ |
| 768 | int vtkSQLDatabaseSchema::GetNumberOfIndicesInTable(int tblHandle) |