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
|
|
@ -90,7 +90,6 @@ public:
|
|||
const QString& createSql() const;
|
||||
QString argListWithNames(bool multiline = false) const;
|
||||
QString argSigList(const bool forScript = false) const;
|
||||
|
||||
QString volatility() const;
|
||||
|
||||
bool isFunction() const { return kind == ProcKind::Function; }
|
||||
|
|
@ -98,6 +97,7 @@ public:
|
|||
bool isAggregate() const { return kind == ProcKind::Aggregate; }
|
||||
bool isWindow() const { return kind == ProcKind::Window; }
|
||||
|
||||
QString typeName() const override;
|
||||
// bool isTrigger() const
|
||||
// {
|
||||
// return typname == wxT("\"trigger\"") || typname == wxT("trigger") || typname == wxT("event_trigger") || typname == wxT("\"event_trigger\""))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue