Moved several files from pglab project to pglablib
This commit is contained in:
parent
206d734ff5
commit
f4538069cb
44 changed files with 45 additions and 44 deletions
20
pglablib/PgAttributeContainer.h
Normal file
20
pglablib/PgAttributeContainer.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue