@abaplint/core 2.105.10 → 2.105.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,13 +16,14 @@ class Select extends combi_1.Expression {
|
|
|
16
16
|
const offset = (0, combi_1.ver)(version_1.Version.v751, (0, combi_1.seq)("OFFSET", _1.SQLSource));
|
|
17
17
|
const bypass = (0, combi_1.str)("BYPASSING BUFFER");
|
|
18
18
|
const fields = (0, combi_1.ver)(version_1.Version.v750, _1.SQLFields);
|
|
19
|
-
|
|
20
|
-
const
|
|
19
|
+
// todo, HINTS cannot be anywhere, need an expression dedicated for strict sql
|
|
20
|
+
const perm = (0, combi_1.per)(_1.SQLFrom, into, _1.SQLForAllEntries, where, _1.SQLOrderBy, sql_up_to_1.SQLUpTo, offset, _1.SQLClient, _1.SQLHaving, bypass, sql_group_by_1.SQLGroupBy, fields, _1.DatabaseConnection, _1.SQLHints);
|
|
21
|
+
const permSingle = (0, combi_1.per)(_1.SQLFrom, (0, combi_1.altPrio)(sql_into_structure_1.SQLIntoStructure, _1.SQLIntoList), where, _1.SQLClient, bypass, fields, _1.DatabaseConnection, _1.SQLHints);
|
|
21
22
|
const paren = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WParenLeftW), sql_field_name_1.SQLFieldName, (0, combi_1.tok)(tokens_1.WParenRightW));
|
|
22
23
|
const fieldList = (0, combi_1.optPrio)((0, combi_1.altPrio)(_1.SQLFieldList, paren));
|
|
23
24
|
const single = (0, combi_1.seq)("SINGLE", (0, combi_1.optPrio)("FOR UPDATE"), fieldList, permSingle);
|
|
24
25
|
const other = (0, combi_1.seq)((0, combi_1.optPrio)("DISTINCT"), fieldList, perm);
|
|
25
|
-
const ret = (0, combi_1.seq)("SELECT", (0, combi_1.altPrio)(single, other)
|
|
26
|
+
const ret = (0, combi_1.seq)("SELECT", (0, combi_1.altPrio)(single, other));
|
|
26
27
|
return ret;
|
|
27
28
|
}
|
|
28
29
|
}
|
package/build/src/registry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.105.
|
|
3
|
+
"version": "2.105.11",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"@microsoft/api-extractor": "^7.39.1",
|
|
54
54
|
"@types/chai": "^4.3.11",
|
|
55
55
|
"@types/mocha": "^10.0.6",
|
|
56
|
-
"@types/node": "^20.
|
|
57
|
-
"chai": "^4.4.
|
|
56
|
+
"@types/node": "^20.11.5",
|
|
57
|
+
"chai": "^4.4.1",
|
|
58
58
|
"eslint": "^8.56.0",
|
|
59
59
|
"mocha": "^10.2.0",
|
|
60
|
-
"c8": "^9.
|
|
60
|
+
"c8": "^9.1.0",
|
|
61
61
|
"source-map-support": "^0.5.21",
|
|
62
62
|
"ts-json-schema-generator": "^1.5.0",
|
|
63
63
|
"typescript": "^5.3.3"
|