You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue when using the bulkUpdate method in Dexie.js.
Environment:
Dexie.js version: [Please specify the version you're using]
Browser: [e.g., Chrome, Firefox, etc.]
Operating System: [e.g., Windows 10, macOS Big Sur, etc.]
Steps to Reproduce:
When executing this code, I receive the following error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getMany')
By tracing through dexie.min.js, I found that the error originates from the ht.prototype.bulkUpdate function.
Additional Information:
Other methods like bulkPut and update work correctly with the same table instance.
The table is properly initialized and open.
_data is a JavaScript array of objects (not a JSON string), and I confirmed its structure matches the expected format for bulkUpdate.
I have checked that the bulkUpdate method exists on the table instance and is a function.
Question:
Is there something I'm missing in how I'm using the bulkUpdate method? Could this be a bug in Dexie.js, or is there a specific requirement for the data format that I'm overlooking?
Any guidance or assistance would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered:
Hello,
I'm encountering an issue when using the bulkUpdate method in Dexie.js.
Environment:
Dexie.js version: [Please specify the version you're using]
Browser: [e.g., Chrome, Firefox, etc.]
Operating System: [e.g., Windows 10, macOS Big Sur, etc.]
Steps to Reproduce:
I have an external JSON object _data:
I attempt to call bulkUpdate as follows:
When executing this code, I receive the following error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getMany')
By tracing through dexie.min.js, I found that the error originates from the ht.prototype.bulkUpdate function.
Additional Information:
Other methods like bulkPut and update work correctly with the same table instance.
The table is properly initialized and open.
_data is a JavaScript array of objects (not a JSON string), and I confirmed its structure matches the expected format for bulkUpdate.
I have checked that the bulkUpdate method exists on the table instance and is a function.
Question:
Is there something I'm missing in how I'm using the bulkUpdate method? Could this be a bug in Dexie.js, or is there a specific requirement for the data format that I'm overlooking?
Any guidance or assistance would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: