Reorganize files in pglablib
The enitities and containers of the catalog now go into catalog subfolder Models go into model
This commit is contained in:
parent
56cbeea183
commit
f0c1035378
121 changed files with 226 additions and 183 deletions
|
|
@ -1,28 +0,0 @@
|
|||
#ifndef PGSCHEMAOBJECT_H
|
||||
#define PGSCHEMAOBJECT_H
|
||||
|
||||
#include <QString>
|
||||
#include "PgDatabaseObject.h"
|
||||
#include <libpq-fe.h>
|
||||
|
||||
class PgNamespace;
|
||||
|
||||
/// Base class for database objects that are part of a specific schema
|
||||
class PgNamespaceObject: public PgDatabaseObject {
|
||||
public:
|
||||
|
||||
PgNamespaceObject(PgDatabaseCatalog& cat, Oid oid, const QString &name, Oid schema_oid);
|
||||
|
||||
Oid nsOid() const;
|
||||
// void setSchemaOid(Oid oid);
|
||||
QString nsName() const;
|
||||
QString quotedNsName() const;
|
||||
/// Returns the schema name and object name with proper quotes
|
||||
QString fullyQualifiedQuotedObjectName() const;
|
||||
|
||||
const PgNamespace& ns() const;
|
||||
private:
|
||||
Oid m_schemaOid = InvalidOid;
|
||||
};
|
||||
|
||||
#endif // PGSCHEMAOBJECT_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue