Added typeName function to PgObject as it might be useful for building generic functions.

This commit is contained in:
eelke 2018-12-24 11:31:56 +01:00
parent b210c570fc
commit 3f337b2cca
21 changed files with 83 additions and 15 deletions

View file

@ -15,6 +15,7 @@ public:
const QString& objectName() const;
/// Default implementation uses objectName and add quotes when needed.
virtual QString quotedObjectName() const;
virtual QString typeName() const = 0;
bool operator==(Oid _oid) const { return m_oid == _oid; }
bool operator==(const QString &n) const { return m_name == n; }