我想使用 SOSL 来获取关系值?
List<List<SObject>> searchList = [FIND :mySearchText IN ALL FIELDS
RETURNING
Account (id, name,phone, BillingStreet,BillingCity,BillingState, ownerID.Alias,ownerID.MobilePhone )];
我收到一个错误
Save error: Didn't understand relationship 'ownerID' in field path. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
我做错了什么吗?