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
|
|
@ -8,8 +8,6 @@
|
|||
class PgDatabase: public PgServerObject {
|
||||
public:
|
||||
|
||||
// Oid oid = InvalidOid;
|
||||
// QString name;
|
||||
Oid dba; // owner?
|
||||
int encoding;
|
||||
QString collate;
|
||||
|
|
@ -24,10 +22,7 @@ public:
|
|||
|
||||
bool isValid() const { return oid() != InvalidOid; }
|
||||
|
||||
// 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 PgDatabase &rhs) const { return oid() < rhs.oid(); }
|
||||
QString typeName() const override;
|
||||
};
|
||||
|
||||
#endif // PGDATABASE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue