20 lines
522 B
C++
20 lines
522 B
C++
#ifndef PGCONSTRAINTCONTAINER_H
|
|
#define PGCONSTRAINTCONTAINER_H
|
|
|
|
#include "PgContainer.h"
|
|
#include "PgConstraint.h"
|
|
#include "Pgsql_declare.h"
|
|
#include <vector>
|
|
|
|
class PgConstraintContainer : public PgContainer<PgConstraint> {
|
|
public:
|
|
using PgContainer<PgConstraint>::PgContainer;
|
|
|
|
virtual std::string getLoadQuery() const override;
|
|
//std::vector<PgConstraint> getIndexesForTable(Oid table_oid) const;
|
|
protected:
|
|
virtual PgConstraint loadElem(const Pgsql::Row &row) override;
|
|
};
|
|
|
|
|
|
#endif // PGCONSTRAINTCONTAINER_H
|