Storage Service DB & Collection Creation Problem . .

0 votes

Hi,

        Is there any way to create multiple Database and Collection. If yes, Kindly guide me through it.

 

Here is the exception i am getting while creating second DB 

First DB : 

storageService.InsertJSONDocument ("TEST1", "NewCollection" cons.json, callBack);

Second DB: 

storageService.InsertJSONDocument ("NewDB", "NewCollection1" cons.json, callBack);

 

asked Apr 30, 2014 in App42 Cloud API-BaaS by raj (21 points)

1 Answer

0 votes

Hi Raj,

You can create only one DB for an App and multiple collections in your database.

You have to uses same database name in further operations because only one database is allowed per app. However, you can have multiple collections in your app database. For more details seen our documentation.

answered Apr 30, 2014 by naresh (350 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
...