I’m new to Java and i need to update a value in a dataset by adding 1, I’m doing this through the user pressing a button connected to the value through a repeater connected to a dataset. The code isn’t working and i was wondering if there is anything i can do to fix this?
import wixData from ‘wix-data’ ;
$w . onReady ( function () {
});
export function button1_click ( event ) {
let toUpdate = {
“myValue” : ( “myValue” + 1 )
};
}