WIP: Added page showing list of functions.

Only list is shown, still working on details.
This commit is contained in:
eelke 2018-11-25 09:06:01 +01:00
parent 7db859737a
commit 840af1e0a9
19 changed files with 635 additions and 92 deletions

View file

@ -227,6 +227,23 @@ QString quoteIdent(QString ident)
}
QString dollarQuoteString(const QString &value)
{
QString def_tag = "BODY";
QString tag = QString("$%1$").arg(def_tag);
int counter = 1;
while (value.indexOf(tag) >= 0)
tag = QString("$%1%2$").arg(def_tag, counter++);
return tag
+ value
+ tag;
}
QString genSchemaPrefix(const PgNamespace &ns)
{
QString str;