alexiusacademia / electron-db

Electron module that acts as database management and uses flat file database (json file) to store tables.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UpdateRow Error

MinaMourice opened this issue · comments

UpdateRow function check first row only

for (var i = 0; i < rows.length; i++) { 
.
.
.
else {
        callback(false, "Cannot find the specified record.");
        return;
}

}

when it enter the else condition of "Cannot find the specified record" it execute return without continuing to check the remaining rows

This bug has been fixed but I mistakenly made it by using the old file. Not it is fixed at 079230e and was published at version 0.9.1

Thanks!