Alvast wat code voor backup/restore bij elkaar gezocht
This commit is contained in:
parent
2b012b70eb
commit
ea30dd9c0e
4 changed files with 72 additions and 1 deletions
|
|
@ -27,6 +27,9 @@ SqlHighlighter::SqlHighlighter(QTextDocument *parent)
|
|||
R"-(|\foreign\b|\bfrom\b|\bgroup\b|\bhaving\b|\bin\b|\bindex\b|\bis\b|\bkey\b|\blimit\b|\bnatural\b|\bnot\b|\bnull\b|\boffset\b|\bon\b)-"
|
||||
R"-(|\bor\b|\border\b|\bover\b|\bparition\b|\bprimary\b|\breferences\b|\brestrict\b|\bselect\b|\btable\b|\btruncate\b|\bunique\b|\bupdate\b|\busing\b)-"
|
||||
R"-(|\bwhere\b|\bwith\b|(?:(?:inner|(?:left|right|full)(\s+outer)?)\s+)?join)-";
|
||||
|
||||
// into temp DISTINCT true false
|
||||
|
||||
static auto types =
|
||||
R"-(\bbigint\b|\bboolean\b|\bchar\b|\bcharacter varying\b|\bdate\b|\bint[248]\b|\binteger\b|\bnumeric\b|\bsmallint\b)-"
|
||||
R"-(|\btime\b|\btimestamp(?:tz)?\b|\btimestamp(?:\s+with\s+time\s+zone)?\b|\bvarchar\b)-";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue