Hi,
I tried to load data from table Users.
Here is my code:
BackendlessDataQuery *query = [BackendlessDataQuery query];
query.whereClause = [NSString stringWithFormat:@“email=‘%@’”, eMail];
id <IDataStore> dataStore = [backendless.persistenceService of:[BackendlessUser class]];
BackendlessCollection *collection = [dataStore find:query];
BackendlessUser *aUser = collection.data[0];
self.name = aUser.name;
self.eMail = aUser.email;
self.profilePhoto = [aUser getProperty:@“profilePhoto”];
self.teamColor = [aUser getProperty:@“teamColor”];
self.location = [aUser getProperty:@“location”];
Most of them are working well, except self.location.
It is always null.
So, how can I fix the problem and retrieve the user location?
Thanks.