ujjwalguptaofficial / JsStore

Simplifying IndexedDB with SQL like syntax and promises
http://jsstore.net/
MIT License
858 stars 110 forks source link

Join Clause is not working in v3.4.2 #134

Closed LeeRob97 closed 5 years ago

LeeRob97 commented 5 years ago

Error:

jsstore.min.js:6 Uncaught DOMException: Failed to execute 'postMessage' on 'Worker': HTMLTableElement object could not be cloned. at t.e.sendRequestToWorker (/js/JSSTORE/jsstore.min.js:6:5321) at t.e.executeQry (/js/JSSTORE/jsstore.min.js:6:4715) at t.e.processFinishedQuery (/js/JSSTORE/jsstore.min.js:6:3844) at t.e.onMessageFromWorker (/js/JSSTORE/jsstore.min.js:6:3304)

Use Case: results = await connection.select({ from: table, join: { with: "Address", on: "People.id=Address.pid" } });

I am trying to join to tables that share on table 1 ID number which is of type number and everytime I try I get the error shown above

LeeRob97 commented 5 years ago

Nevermind I was using the wrong variable it works just fine, sorry.