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
24
pglab/PgClassContainer.h
Normal file
24
pglab/PgClassContainer.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#ifndef PGCLASSCONTAINER_H
|
||||
#define PGCLASSCONTAINER_H
|
||||
|
||||
#include "PgContainer.h"
|
||||
#include "PgClass.h"
|
||||
|
||||
namespace Pgsql {
|
||||
|
||||
class Result;
|
||||
|
||||
}
|
||||
|
||||
|
||||
class PgClassContainer: public PgContainer<PgClass> {
|
||||
public:
|
||||
using PgContainer<PgClass>::PgContainer;
|
||||
|
||||
virtual std::string getLoadQuery() const override;
|
||||
virtual void load(const Pgsql::Result &res) override;
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
#endif // PGCLASSCONTAINER_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue