The table inheritance works mostly
When a table has partitions or inheritance children these are listed as subnodes. A subnode can appear multiple times under different parents as postgresql supports inheriting multiple tables. The sizes are still missing and maybe some things I have note verified yet are not correct.
This commit is contained in:
parent
ccd88d0578
commit
39dbab4d36
17 changed files with 452 additions and 127 deletions
|
|
@ -38,9 +38,9 @@ public:
|
|||
virtual Oid getType(int column) const override;
|
||||
virtual QVariant getData(const QModelIndex &index) const override;
|
||||
|
||||
RowItem rowItem(int row) const
|
||||
RowItem rowItem(const QModelIndex &index) const
|
||||
{
|
||||
return databases.at(row).database;
|
||||
return databases.at(index.row()).database;
|
||||
}
|
||||
protected:
|
||||
virtual QVariant getDataMeaning(const QModelIndex &index) const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue