@abaplint/runtime 2.7.82 → 2.7.83
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.
|
@@ -42,7 +42,6 @@ interface ITable {
|
|
|
42
42
|
set(tab: Table | HashedTable | TableRowType): ITable;
|
|
43
43
|
getHeader(): TableRowType;
|
|
44
44
|
}
|
|
45
|
-
export declare let featureHashedTables: boolean;
|
|
46
45
|
export declare class TableFactory {
|
|
47
46
|
static construct(rowType: TableRowType, options?: ITableOptions, qualifiedName?: string): Table | HashedTable;
|
|
48
47
|
}
|
package/build/src/types/table.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Table = exports.HashedTable = exports.TableFactory = exports.
|
|
3
|
+
exports.Table = exports.HashedTable = exports.TableFactory = exports.LoopController = exports.TableKeyType = exports.TableAccessType = void 0;
|
|
4
4
|
const integer_1 = require("./integer");
|
|
5
5
|
const string_1 = require("./string");
|
|
6
6
|
const clone_1 = require("../clone");
|
|
@@ -31,8 +31,6 @@ class LoopController {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
exports.LoopController = LoopController;
|
|
34
|
-
// eslint-disable-next-line prefer-const
|
|
35
|
-
exports.featureHashedTables = true;
|
|
36
34
|
class TableFactory {
|
|
37
35
|
static construct(rowType, options, qualifiedName) {
|
|
38
36
|
var _a;
|
|
@@ -48,7 +46,7 @@ class TableFactory {
|
|
|
48
46
|
withHeader: false,
|
|
49
47
|
};
|
|
50
48
|
}
|
|
51
|
-
if (
|
|
49
|
+
if (((_a = options.primaryKey) === null || _a === void 0 ? void 0 : _a.type) === TableAccessType.hashed) {
|
|
52
50
|
return new HashedTable(rowType, options, qualifiedName);
|
|
53
51
|
}
|
|
54
52
|
else {
|