Added typeName function to PgObject as it might be useful for building generic functions.
This commit is contained in:
parent
b210c570fc
commit
3f337b2cca
21 changed files with 83 additions and 15 deletions
|
|
@ -9,20 +9,13 @@
|
|||
/// Object representing a namespace within a database
|
||||
class PgNamespace: public PgDatabaseObject {
|
||||
public:
|
||||
|
||||
// Oid oid = InvalidOid;
|
||||
// QString name;
|
||||
Oid owner = InvalidOid;
|
||||
QString acl;
|
||||
|
||||
using PgDatabaseObject::PgDatabaseObject;
|
||||
|
||||
// bool operator==(Oid _oid) const { return oid == _oid; }
|
||||
// bool operator==(const QString &n) const { return objectName() == n; }
|
||||
// bool operator<(Oid _oid) const { return oid < _oid; }
|
||||
// bool operator<(const PgNamespace &rhs) const { return oid < rhs.oid; }
|
||||
|
||||
bool isSystemCatalog() const;
|
||||
QString typeName() const override;
|
||||
};
|
||||
|
||||
#endif // PGNAMESPACE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue