Is there a way to insert an object to an array at a specific index?


I looked at the docs and api and I can’t seem to figure out how to go about inserting an object at a specific index of an array?

Any ideas if this is possible? thanks!


Ive not seen this, think it would be a case of querying the object and inserting into the array manually and resaving.

Or ideally you would be creating a new array with it inserted and save that one to the database.


Hi @farhansyed9 i think parse save the array as it comes so if you order you array before saving it on the object it will keep the ordre