Page 1 of 1

Save an Array contaning Strings to an Array field in a REST database

Posted: Sun Oct 13, 2013 1:42 pm
by bahar.wadia

I have an Array type that holds a number of strings, which I am trying to save to an Array field in the REST database.

I have tried:

return StringArray; // StringArray is my array of strings

I have tried:

return JSON.stringify(StringArray); // StringArray is my array of strings

What am I doing wrong ?


Save an Array contaning Strings to an Array field in a REST database

Posted: Sun Oct 13, 2013 2:54 pm
by Alena Prykhodko

Hi!

Please try to debug your app, send us screen shots http://docs.appery.io/documentation/d...


Save an Array contaning Strings to an Array field in a REST database

Posted: Mon Oct 14, 2013 1:34 am
by bahar.wadia

Thanks for the info. I figured it out.