WIP: Added page showing list of functions.
Only list is shown, still working on details.
This commit is contained in:
parent
7db859737a
commit
840af1e0a9
19 changed files with 635 additions and 92 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue