Reorganize files in pglablib

The enitities and containers of the catalog now go into catalog subfolder
Models go into model
This commit is contained in:
eelke 2018-12-16 10:17:59 +01:00
parent 56cbeea183
commit f0c1035378
121 changed files with 226 additions and 183 deletions

View file

@ -0,0 +1,20 @@
#ifndef PGATTRIBUTECONTAINER_H
#define PGATTRIBUTECONTAINER_H
#include "PgContainer.h"
#include "PgAttribute.h"
#include "Pgsql_declare.h"
#include <vector>
class PgAttributeContainer : public PgContainer<PgAttribute, PgAttribute::Key> {
public:
using PgContainer<PgAttribute, PgAttribute::Key>::PgContainer;
virtual std::string getLoadQuery() const override;
std::vector<PgAttribute> getColumnsForRelation(Oid oid) const;
protected:
PgAttribute loadElem(const Pgsql::Row &row) override;
};
#endif // PGATTRIBUTECONTAINER_H