-
-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Labels
Description
I've a "table" called "CONFIG" with an array "VAL", the "push" code is the following..
myObj["nome"] = nome.toLowerCase();
myObj["valore"] = valore;
myObj["ultima_modifica"] = jsonDate;
myObj["id_utenti"] = id_utenti;
db.push("/CONFIG/VAL[]", { obj : myObj }, true);
..but I can't use "getIndex" like describe in documentation, to retrive a specific value into the array, I've try this code..
let myIndex = db.getIndex("/CONFIG/VAL", pnome, "nome");
..but doesn't work!