Page 1 of 1

How to setup the Batch Update Service

Posted: Tue Oct 17, 2017 11:48 am
by Joni de Campos

I need to use the Batch Update Service of a collection.

I want all records of a collection that have a certain condition( field value = true, for example ) to update the collection information.

How do I set the where parameter value? Do I have to return a jSON string to the where parameter ?


How to setup the Batch Update Service

Posted: Tue Oct 17, 2017 2:18 pm
by Serhii Kulibaba

Hello Joni,

Please see the example here: https://docs.appery.io/reference#data...


How to setup the Batch Update Service

Posted: Tue Dec 19, 2017 9:24 pm
by Joni de Campos

I tried but it seems to be mapping not correctly:

Batch Service Batch Setting ( Test Collection)
Image

Request

Image

Shouldn't the Request be an Operations_Array ?

https://docs.appery.io/reference#data...


How to setup the Batch Update Service

Posted: Wed Dec 20, 2017 6:16 pm
by Serhii Kulibaba

No, the batch service uses the parameter "update".

Please see all examples by the link: https://docs.appery.io/reference#data... (using the parameter "update" or "operations")