Filter Results

Filter objects are used to filter the result set of records. All sObjects in the schema have a corresponding Filter type created, which combines the object API name with the _Filter suffix. For example, Account has a corresponding Account_Filter type created.

Account Schema
1Account(
2  first: Int
3  after: String
4  scope: ACCOUNT_SCOPE
5  orderBy: Account_OrderBy
6  where: Account_Filter
7): AccountConnection # the "Account" field returns the "AccountConnection" type

Filter your results using a combination of field operators, boolean operators, and more. For example, you can filter through a parent relationship or use a semi-join or anti-join.