Joni de Campos
Posts: 0
Joined: Fri Dec 11, 2015 12:21 pm

How to setup the Batch Update Service

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 ?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

How to setup the Batch Update Service

Hello Joni,

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

Joni de Campos
Posts: 0
Joined: Fri Dec 11, 2015 12:21 pm

How to setup the Batch Update Service

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...

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

How to setup the Batch Update Service

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")

Return to “Issues”