Im using the following API to update a row ( [backendless.persistenceService save: entity: error: ];
Its working fine when I need to link an Relationship Object with a certain field (using the “___class” Key), however I could not find a way to unlink an existing relationship object … Please help
So in iOS NSDictionary value can’t be set to null directly, alternatively it ca be set to [NSNull null]
so the format is [Dict setObject:[NSNull null] forKey:@“relatedObject”]) …when I do that nothing get updated on backendless and the related object stays as is
The method mentioned in the page above is not Dictionary based [backendless.persistenceService save: entity: error: ]… I need the dictionary based because there are other Fields I’m updating at the same API call … so its not really possible …
Hi Eyad,
Sorry for the delay.
Looks like it’s not possible with the Dictionary.
Meanwhile, Backendless 4.0 was release with a new relation management API, which now allows you to do what you want.