How Can I Replace Specific Objects In Parse To Objects Inputted By The User?
I have objects in Parse called 'Post' and within that, I have columns called 'title' and 'content'. I am trying to ask the user for an input value and save this as a variable, also
Solution 1:
The problem with the code is that find() resolves as an array of matching objects. objects.set(...
is no good because objects is an array. Do you expect only one Post from the query? In that case, replace query.find()
with query.first()
Solution 2:
Try objects["newlocation"] = newLocation;
Post a Comment for "How Can I Replace Specific Objects In Parse To Objects Inputted By The User?"