Start a new topic
Answered

Creating Collection Columns

 Scenrio is,


Im very new to Kinvey,

I have made a collection Named books. but when I create any column in Books collections it vanish after page refresh ..

Please tell me how to create Columns in Collection


Best Answer

Hi Zaid,


In Kinvey console, if you create a column and immediately add/edit a row with some value for that column, the column will not vanish anymore.


Also, if you are using any Kinvey SDK or API console, it is not necessary to create the column before adding value for that column. If you post data with value for new columns, the column will automatically start appearing in the Kinvey console.


This is because Kinvey uses mongo (NoSQL) as a backing store for collections and that is how mongo works.


Let me know if this answers your question.



Regards,

Wani

Kinvey Support


Answer

Hi Zaid,


In Kinvey console, if you create a column and immediately add/edit a row with some value for that column, the column will not vanish anymore.


Also, if you are using any Kinvey SDK or API console, it is not necessary to create the column before adding value for that column. If you post data with value for new columns, the column will automatically start appearing in the Kinvey console.


This is because Kinvey uses mongo (NoSQL) as a backing store for collections and that is how mongo works.


Let me know if this answers your question.



Regards,

Wani

Kinvey Support


1 person likes this

It is not necessary to create such columns at all.


If you just post value from front end application for a column that doesn't exist, the column will appear in the web console automatically the next time you refresh.



Regards,

Wani


1 person likes this
Hi Wani,

Thanks Your Answer works, but it necessary to insert a value immediately after adding column? If yes, then after creating every column we have to give atleast a single value directly instead of using front end application, to make column persistant....

 

Thanks Wani... Lemme try that. if I stuck, will post new thread : )

 

Login or Signup to post a comment