Page 1 of 1

Additional field in query service

Posted: Fri Aug 15, 2014 1:21 pm
by Mantas Kamarauskas

Hi,

I have collection with columns A, B, C. While retrieving data with query I would like to have additional column D, which value is B+C. Also, D column I want to use for retrieved records sorting.

Is that possible? I can not find appropriate example how can I add additional field to query and make calculations in that field.


Additional field in query service

Posted: Fri Aug 15, 2014 1:45 pm
by Evgene Karachevtsev

Hello Mantas,

In this case, you should first get the data using read_service:
http://devcenter.appery.io/documentat...
carry out the necessary calculations and update data using update_service:
http://devcenter.appery.io/documentat...