------------------------------------------------------------------------------
| 328 | |
| 329 | //------------------------------------------------------------------------------ |
| 330 | const char* vtkSQLDatabaseSchema::GetTableNameFromHandle(int tblHandle) |
| 331 | { |
| 332 | if (tblHandle < 0 || tblHandle >= this->GetNumberOfTables()) |
| 333 | { |
| 334 | vtkErrorMacro("Cannot get name of non-existent table " << tblHandle); |
| 335 | return nullptr; |
| 336 | } |
| 337 | |
| 338 | return this->Internals->Tables[tblHandle].Name.c_str(); |
| 339 | } |
| 340 | |
| 341 | //------------------------------------------------------------------------------ |
| 342 | int vtkSQLDatabaseSchema::GetIndexHandleFromName(const char* tblName, const char* idxName) |