pg_classes can be loaded now, used in TablesTableModel for overview of tables in database.
This commit is contained in:
parent
43e6042794
commit
6466062cc8
23 changed files with 524 additions and 173 deletions
|
|
@ -6,7 +6,7 @@
|
|||
#include "Expected.h"
|
||||
#include <memory>
|
||||
|
||||
class PgDatabaseCatalogue;
|
||||
class PgDatabaseCatalog;
|
||||
class TypeSelectionItemModel;
|
||||
|
||||
/** Instances of this class represent a single database on which atleast one
|
||||
|
|
@ -22,7 +22,7 @@ public:
|
|||
OpenDatabase& operator=(const OpenDatabase &) = delete;
|
||||
~OpenDatabase();
|
||||
|
||||
std::shared_ptr<PgDatabaseCatalogue> catalogue();
|
||||
std::shared_ptr<PgDatabaseCatalog> catalogue();
|
||||
TypeSelectionItemModel* typeSelectionModel();
|
||||
signals:
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ public slots:
|
|||
|
||||
private:
|
||||
ConnectionConfig m_config;
|
||||
std::shared_ptr<PgDatabaseCatalogue> m_catalogue;
|
||||
std::shared_ptr<PgDatabaseCatalog> m_catalogue;
|
||||
|
||||
TypeSelectionItemModel *m_typeSelectionModel = nullptr;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue