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

#1

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!

#2

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.

#3

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