pgLab/pglablib/PgObject.cpp
eelke fcb191f2cc Overview of triggers extended with function name and arguments.
Did a lot of refactoring on the catalog to keep things clean.
2018-11-18 19:30:45 +01:00

19 lines
307 B
C++

#include "PgObject.h"
#include "SqlFormattingUtils.h"
PgObject::PgObject(PgDatabaseCatalog& cat)
: m_catalog(&cat)
{}
PgObject::~PgObject()
{}
QString PgObject::quotedObjectName() const
{
return quoteIdent(objectName());
}
const PgDatabaseCatalog& PgObject::catalog() const
{
return *m_catalog;
}