Updating the solution by @Sveen, changing var by const , however it worked only in the browser, in the app it continues to replicate only one value:
for (var i in dados.valor) {
const query = "INSERT INTO teste ...";
localDB.t...
asked by
28.03.2018 / 19:03