localdb-ces6q 0.2.43 → 0.2.45
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/LocalDB.js +1 -1
- package/package.json +1 -1
package/dist/LocalDB.js
CHANGED
@@ -140,7 +140,7 @@ export class LocalDB {
|
|
140
140
|
}
|
141
141
|
const { indexes } = config;
|
142
142
|
if (indexes) {
|
143
|
-
for (
|
143
|
+
for (let name in indexes) {
|
144
144
|
const { compare } = indexes[name];
|
145
145
|
fieldIndexes[name] = new BTree(docs.map((d) => [d, d]), compare);
|
146
146
|
}
|