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
|
|
@ -1,5 +1,5 @@
|
|||
#include "OpenDatabase.h"
|
||||
#include "PgDatabaseCatalogue.h"
|
||||
#include "PgDatabaseCatalog.h"
|
||||
#include "Pgsql_Connection.h"
|
||||
#include "TypeSelectionItemModel.h"
|
||||
|
||||
|
|
@ -19,7 +19,7 @@ Expected<OpenDatabase*> OpenDatabase::createOpenDatabase(const ConnectionConfig
|
|||
OpenDatabase::OpenDatabase(const ConnectionConfig& cfg, QObject *parent)
|
||||
: QObject(parent)
|
||||
, m_config(cfg)
|
||||
, m_catalogue(std::make_shared<PgDatabaseCatalogue>())
|
||||
, m_catalogue(std::make_shared<PgDatabaseCatalog>())
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ bool OpenDatabase::Init()
|
|||
return false;
|
||||
}
|
||||
|
||||
std::shared_ptr<PgDatabaseCatalogue> OpenDatabase::catalogue()
|
||||
std::shared_ptr<PgDatabaseCatalog> OpenDatabase::catalogue()
|
||||
{
|
||||
return m_catalogue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue