Closed xh-lin closed 6 months ago
Row too big to fit into CursorWindow
is an error on Android's side. The best I can tell is that you can change the storage used.
@xh-lin, maybe the promises are throwing before await Promise.all...
.
Try:
await Promise.all(
pediaEx.items.map(async ([itemId, item]) => {
return itemsDb.insertAsync({
key: itemId,
val: item,
});
}),
).then((docs) => {
console.log(`items added ${docs.length} docs`);
});
...It might be better to use Promise.allSettled
Hi, I'm getting this console warning, does anyone know why and how to resolve it?
my code: