1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-08 02:58:54 +08:00

add store tests

This commit is contained in:
lana-k
2021-01-01 18:47:16 +01:00
parent 4c2da33d01
commit ef461be3e5
5 changed files with 601 additions and 70 deletions

View File

@@ -47,9 +47,10 @@ export default {
worker.onmessage = (event) => {
if (event.data.error) {
reject(event.data.error)
} else {
// if it was more than one select - take only the first one
resolve(event.data.results[0])
}
// if it was more than one select - take only the first one
resolve(event.data.results[0])
}
worker.postMessage({ action: 'exec', sql: commands })
})