The oid column is now shown for tables that are "with oids".
This commit is contained in:
parent
172e2bcd1d
commit
7051ef2efc
5 changed files with 23 additions and 9 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#define TABLESTABLEMODEL_H
|
||||
|
||||
#include "BaseTableModel.h"
|
||||
#include "PgClass.h"
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
|
|
@ -32,6 +33,7 @@ public:
|
|||
int columnCount(const QModelIndex &parent) const override;
|
||||
|
||||
virtual QVariant data(const QModelIndex &index, int role) const override;
|
||||
PgClass getTable(int row) const;
|
||||
Oid getTableOid(int row) const;
|
||||
protected:
|
||||
virtual Oid getType(int column) const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue