Expand typed SQL DSL
This commit is contained in:
parent
72606e7818
commit
314c8fb207
17 changed files with 1082 additions and 498 deletions
|
|
@ -202,11 +202,11 @@
|
|||
},
|
||||
{
|
||||
"name": "support.function.sql.query.gotlin",
|
||||
"match": "(?<=\\.)\\b(from|where|select|orderBy|orderByDescending|limit|forUpdate|skipLocked)\\b"
|
||||
"match": "(?<=\\.)\\b(from|alias|join|leftJoin|rightJoin|where|select|groupBy|having|orderBy|orderByDescending|limit|offset|forUpdate|skipLocked)\\b"
|
||||
},
|
||||
{
|
||||
"name": "support.function.sql.mutation.gotlin",
|
||||
"match": "(?<=\\.)\\b(insert|update|delete|onConflict|doNothing|doUpdate|returning)\\b"
|
||||
"match": "(?<=\\.)\\b(insert|insertAll|update|delete|onConflict|doNothing|doUpdate|returning)\\b"
|
||||
},
|
||||
{
|
||||
"name": "support.function.sql.execution.gotlin",
|
||||
|
|
@ -214,7 +214,7 @@
|
|||
},
|
||||
{
|
||||
"name": "support.function.sql.helper.gotlin",
|
||||
"match": "\\b(set|now)\\b(?=\\s*\\()"
|
||||
"match": "\\b(count|countDistinct|sum|avg|min|max|now)\\b(?=\\s*\\()"
|
||||
},
|
||||
{
|
||||
"name": "support.function.mapping.gotlin",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue