The table inheritance works mostly
This commit is contained in:
parent
ccd88d0578
commit
2ff9577d41
22 changed files with 473 additions and 145 deletions
20
pglablib/ui/catalog/tables/TableNode.cpp
Normal file
20
pglablib/ui/catalog/tables/TableNode.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include "TableNode.h"
|
||||
#include "catalog/PgDatabaseCatalog.h"
|
||||
namespace {
|
||||
PgDatabaseCatalog dummyCatalog;
|
||||
}
|
||||
|
||||
TableNode::TableNode()
|
||||
: _class(dummyCatalog, InvalidOid, "", InvalidOid)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
TableNode::TableNode(const PgClass &cls)
|
||||
: _class(cls)
|
||||
{}
|
||||
|
||||
const TableNode *TableNode::getChildPtr(int index) const
|
||||
{
|
||||
return children.at(index).get();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue