Page 1 of 1

The new operations functionality

Posted: Fri Aug 08, 2014 6:24 pm
by Girish Chhugani

The new operations functionality is not working for me. I have tried both $inc and $set. It just replaces the number with blank. The app id is 75a30e7e-f7bd-4b19-b38a-e1c169df2d39

Its a test app with one collection called sandbox and one field called clicks and I created "operations" parameter and giving it the value of {"$inc": {"clicks" : 1}}

I just added the database service Sandbox_sandbox_update_service and testing it there.

Can't figure out what I am doing wrong.
Thanks for your help!!!!


The new operations functionality

Posted: Fri Aug 08, 2014 7:38 pm
by Evgene Karachevtsev

Hello Girish,

"Operations" does not work when there is updating of a specific record (when _id is specified in the url). You should remove _id from the url, and add a where parameter instead.
Image
Image


The new operations functionality

Posted: Fri Aug 08, 2014 7:48 pm
by Girish Chhugani

Ok. Thanks. Not clear in the instructions. Thanks