Open GalCohen opened 8 years ago
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] <>
Fault
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.
Friends.ofClass()
MyAppName.Friends
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!
@slavavdovichenko bump.
Hi,
I want to fetch all the options in one of my tables. I'm trying to do something along the lines of:
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 asMyAppName.Friends
rather than simplyFriends
.Any ideas on how to get around this? Short of renaming the tables in the backend... or rewriting on classes in objective-c... ?
Thanks!