------------------------------------------------------------------------------
| 766 | |
| 767 | //------------------------------------------------------------------------------ |
| 768 | int vtkSQLDatabaseSchema::GetNumberOfIndicesInTable(int tblHandle) |
| 769 | { |
| 770 | if (tblHandle < 0 || tblHandle >= this->GetNumberOfTables()) |
| 771 | { |
| 772 | vtkErrorMacro("Cannot get the number of indices of non-existent table " << tblHandle); |
| 773 | return -1; |
| 774 | } |
| 775 | |
| 776 | return static_cast<int>(this->Internals->Tables[tblHandle].Indices.size()); |
| 777 | } |
| 778 | |
| 779 | //------------------------------------------------------------------------------ |
| 780 | int vtkSQLDatabaseSchema::GetNumberOfColumnNamesInIndex(int tblHandle, int idxHandle) |