I am creating a meditation app. When a user has finished to listen an audio, I would like to replace the value of a field (“nb”) by “1” in database regarding this audio. To do that, I use the “Update” feature, but nothing happens (I still have the old value). Do you have any idea why please?
Sorry I didn’t explain well, count +1 is not my issue. The data regarding to the audio are not updated when the song ends (for instance, another field called “isFinished” is supposed to change to True, but it remains empty).
When a song is finished to be listened to in the second screen, I would like that the current song in “Listened Song” to be update with the value “isNew” to go to True, but nothing happens. Here is my condition.