Wappler Version : 3.9.7
Operating System : Windows10 Pro 20HD
Server Model: PHP
Database Type: MySQL
Hosting Type: Shared (HostEurope)
###Background
I want to increment database field by one.
###Steps to reproduce
- Add Database Single Query to get information.
- Set Value: Using lightning sign select field of single query
- Using wand select ‘Operation’ with ‘+’ and Value “1”
- Save and insert Database Update query to update field with incremented number
Expected behavior
The by one increased number is written to the respective database field.
Actual behavior
After having clicked save in the Set Value Value Window the generated code {{getcurrenthighscore.highscore.toNumber() + 1}}
gets transformed into {{getcurrenthighscore.highscore.toNumber()}}1
whereby not adding but just adjoining the number 1 to the preexistent number.
Community Page
Last updated:
Last updated: