Added dependants tab to table page
Retrieves all foreignkeys pointing to the current table and shows the tables they are foreignkeys of.
This commit is contained in:
parent
b90df1cd77
commit
8dd13d103e
10 changed files with 268 additions and 4 deletions
|
|
@ -17,6 +17,7 @@ public:
|
|||
|
||||
std::vector<PgConstraint> getConstraintsForRelation(Oid relid) const;
|
||||
std::optional<PgConstraint> getPrimaryForRelation(Oid relid) const;
|
||||
std::vector<PgConstraint> getReferencedForRelation(Oid relid) const;
|
||||
protected:
|
||||
virtual PgConstraint loadElem(const Pgsql::Row &row) override;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue