You need to sign in to do that
Don't have an account?

xcode ios salesforce -extract account id from accounts table
Hello!!!
i am trying to put a new account in sales force . but the query is not working fine:'
i am trying to extract id from the acconts table of sales force:
SFRestRequest *request = [[SFRestAPI sharedInstance] requestForQuery:@"SELECT AccountId FROM Account LIMIT 5"];
[[SFRestAPI sharedInstance] send:request delegate:self];
There is no accountId field on account, its just Id, change your query to select Id from Account limit 5
When you get query errors using the SDK, make sure you do an object Describe call first to make sure you are querying correct fields and it also gives you an understanding on the field structure.