Getting Results From Query and Changing Data

I was successfully able to find the item from the database by query and using the console.log in order to check if the database is updated. The console shows up that the data is updated but when I actual check, the database is not changed any value from it. Please helps.

You did everything right, but this part you are missing…

wixData.update("userData", item)
.then( (results) => {
	let item = results; //see item below
})
.catch( (err) => {
	let errorMsg = err;
});

Thank you so much Sir. That is solved the problem.

No problem. Good luck and happy coding :wink: