#ifndef PGCONSTRAINTCONTAINER_H #define PGCONSTRAINTCONTAINER_H #include "PgContainer.h" #include "PgConstraint.h" #include "Pgsql_declare.h" #include class PgConstraintContainer : public PgContainer { public: using PgContainer::PgContainer; virtual std::string getLoadQuery() const override; //std::vector getIndexesForTable(Oid table_oid) const; const PgConstraint* getFKeyForTableColumn(Oid relid, int16_t attnum) const; protected: virtual PgConstraint loadElem(const Pgsql::Row &row) override; }; #endif // PGCONSTRAINTCONTAINER_H