You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
GalCohen
changed the title
persistenceService.find() fails because of namespaced swift objects
persistenceService.find() fails because of namespaced swift objects?
Feb 7, 2016
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!
The text was updated successfully, but these errors were encountered: