pgLab/pglablib/catalog/PgDatabaseContainer.h
eelke f0c1035378 Reorganize files in pglablib
The enitities and containers of the catalog now go into catalog subfolder
Models go into model
2018-12-16 11:31:33 +01:00

26 lines
487 B
C++

#ifndef PGDATABASECONTAINER_H
#define PGDATABASECONTAINER_H
#include "PgContainer.h"
#include "PgDatabase.h"
namespace Pgsql {
class Result;
}
class PgDatabaseContainer: public PgContainer<PgDatabase> {
public:
//explicit PgDatabaseContainer(PgDatabaseCatalog *cat);
using PgContainer<PgDatabase>::PgContainer;
virtual std::string getLoadQuery() const override;
protected:
PgDatabase loadElem(const Pgsql::Row &row) override;
private:
};
#endif // PGDATABASECONTAINER_H