inibase 1.0.0-rc.127 → 1.0.0-rc.128
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.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1151,7 +1151,7 @@ export default class Inibase {
|
|
|
1151
1151
|
return onlyOne
|
|
1152
1152
|
? linesNumbers.values().next().value
|
|
1153
1153
|
: Array.from(linesNumbers);
|
|
1154
|
-
const alreadyExistsColumns = Object.keys(Object.values(
|
|
1154
|
+
const alreadyExistsColumns = Object.keys(Object.values(LineNumberDataMap)[0]), alreadyExistsColumnsIDs = Utils.flattenSchema(schema)
|
|
1155
1155
|
.filter(({ key }) => alreadyExistsColumns.includes(key))
|
|
1156
1156
|
.map(({ id }) => id);
|
|
1157
1157
|
RETURN = Object.values(Utils.deepMerge(LineNumberDataMap, await this.processSchemaData(tableName, Utils.filterSchema(schema, ({ id, type, children }) => !alreadyExistsColumnsIDs.includes(id) ||
|