2017-02-18 7 views
0

백엔드가없는 설명서에는 관련 개체를 쿼리하는 데 대한 example이 있습니다. 전화 번호부 (부모)는 자식이 입니다. (자식)은 자식이 입니다. (전화 번호부 -> 연락처 -> 주소)입니다. 당신이 사용할 수있는자식 개체가없는 자식 개체 검색

find parent objects with no child object

Contact is null 

에 "널"하지만 당신이 아이를 찾을 때 어떤 손자 객체와 객체. 쿼리가 "where where clause not invalid."와 함께 실패합니다.

답변

0

이 솔루션을 개발했습니다.이 솔루션은 손자 오브젝트 시스템 생성 필드가 null인지 확인합니다.

Contact.Address.created is null //Contact has no Address child object 

Contact.Address.created is not null //Contact has Address child object