------------------------------------------------------------------------------
| 799 | |
| 800 | //------------------------------------------------------------------------------ |
| 801 | int vtkSQLDatabaseSchema::GetNumberOfTriggersInTable(int tblHandle) |
| 802 | { |
| 803 | if (tblHandle < 0 || tblHandle >= this->GetNumberOfTables()) |
| 804 | { |
| 805 | vtkErrorMacro("Cannot get the number of triggers of non-existent table " << tblHandle); |
| 806 | return -1; |
| 807 | } |
| 808 | |
| 809 | return static_cast<int>(this->Internals->Tables[tblHandle].Triggers.size()); |
| 810 | } |
| 811 | |
| 812 | //------------------------------------------------------------------------------ |
| 813 | int vtkSQLDatabaseSchema::GetNumberOfOptionsInTable(int tblHandle) |