How to update JSON key value by Query ?

0 votes
How to update value of any key on a JSON document without docId? We need to update value of a key using query (For ex. "email_id" IS_EQUAL_TO "example@mail.com").
asked Mar 22, 2018 in Android by harendra.axovel (11 points)

1 Answer

0 votes

Hi Harendera,

As of now updating value of a particular key is only available through docID. However, if you have the complete JSON with you then you can use UpdateDocWithQuery api in which the document will be founbd based on query and will be replaced with new document passed in the API.

I hope this helps.

Thanks.

answered Mar 23, 2018 by rajeev.etc (1,660 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...