How to insert array of json so that multiple rows inserted in just one api hit.

0 votes
insertingJsonDocument eg. {"name":"Jonny", "age":20} will add one document. But what if [{"name":"Jonny", "age":20}, {"name":"Peter", "age":25}] how to insert multiple document as a JSONArray
asked Mar 6, 2015 in App42 Cloud API-BaaS by owaisandfaisal (10 points)

1 Answer

0 votes
Hi,
As of Now you can only insert one document at a time through the API. However, if you want to insert multiple JSON at a time, e.g. JSONArray you can use our storage import option from AppHQ console.
For details please read our blog here.
 
 
Thanks,
App42Team
answered Mar 7, 2015 by SACHIN25 (190 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
...