是否可以在子字段具有特定值的地方选择父值?
例如:
Select ContractName
From Contract
Where Contract.Orders.Status = 'Draft'
我得到了错误:
Didn't understand relationship 'Contracts' in field path. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name.
但是,即使我将__r添加到Orders中,我也会收到错误消息。