dexiejs

Is it possible to use square bracket notion in class methods?

谁说胖子不能爱 提交于 2020-01-25 04:19:48
问题 I am trying to automate running some queries with dexiejs but i can get them to work when i create a JavaScript function. The queries simply don't run... if i want to update i get: Promise.js:840 Unhandled rejection: TypeError: Cannot read property 'update' of undefined And the rest of my functionalities i.e delete follow the same path i wrote a simple jsfiddle to demostrate my problem <!doctype html> <html> <head> <!-- Include Dexie --> <script src="https://unpkg.com/dexie@latest/dist/dexie