Page 1 of 1

Reset value in database column

Posted: Tue Apr 21, 2015 3:16 pm
by Mark7294305

Hello Support
I have a app which has a database which a few columns. One of these column is set to Boolean. I wish to have a button on the app page which when the user presses it the Boolean value in this column is changed to false for all rows in the database. How can I configure this?


Reset value in database column

Posted: Tue Apr 21, 2015 7:23 pm
by Serhii Kulibaba

Hello Mark,

Please look topic below: https://devcenter.appery.io/documenta...


Reset value in database column

Posted: Tue Apr 21, 2015 9:32 pm
by Mark7294305

Thanks it works


Reset value in database column

Posted: Tue May 24, 2016 8:01 am
by John7876801

Hi Sergiy,

I have the same question, but I didn't find the answer in your link. Is there a way to reset the values of an entire column to a predefined value (e.g. "true") without updating each row?

Best,
john


Reset value in database column

Posted: Tue May 24, 2016 10:11 am
by Serhii Kulibaba

Hello John,

You are able to use multiple update requests fro that: https://devcenter.appery.io/documenta...