Implemented the loading of the list of types into the database catalogue.
This commit is contained in:
parent
43c3835350
commit
5a35fa6a30
3 changed files with 48 additions and 1 deletions
|
|
@ -3,12 +3,27 @@
|
|||
|
||||
#include <vector>
|
||||
|
||||
namespace Pgsql {
|
||||
|
||||
class Connection;
|
||||
|
||||
}
|
||||
|
||||
class PgTypeContainer;
|
||||
|
||||
class PgsqlDatabaseCatalogue {
|
||||
public:
|
||||
PgsqlDatabaseCatalogue();
|
||||
PgsqlDatabaseCatalogue(const PgsqlDatabaseCatalogue&) = delete;
|
||||
PgsqlDatabaseCatalogue& operator = (const PgsqlDatabaseCatalogue&) = delete;
|
||||
|
||||
~PgsqlDatabaseCatalogue();
|
||||
|
||||
|
||||
void loadAll(Pgsql::Connection &conn);
|
||||
void loadTypes(Pgsql::Connection &conn);
|
||||
|
||||
const PgTypeContainer* getTypes() const { return m_types; }
|
||||
private:
|
||||
PgTypeContainer *m_types;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue