Hi,
I want to fetch all the options in one of my tables. I'm trying to do something along the lines of:
Backendless.sharedInstance().persistenceService.find(Friends.ofClass(), dataQuery: nil, response: { (collection) -> Void in
print(collection)
}) { (fault) -> Void in
print(fault)
}
However, the error block fires and I get a Fault object: FAULT = '0000' [Object ID is not exist] <>
I believe it's because Friends.ofClass() evaluates to something namespaced, such as MyAppName.Friends rather than simply Friends.
Any ideas on how to get around this? Short of renaming the tables in the backend... or rewriting on classes in objective-c... ?
Thanks!