Retrieve relations from class

Is there a way to retrieve objects of a class by putting a clause on one of its relations?

For example, using this model from the docs:
http://support.backendless.com/public/attachments/1240ea19b2710b8894eeeef9c4242da3.png</img>
Note that a PhoneBook has the column contacts (and contacts is an array of related objects).

Say I wanted to retrieve all PhoneBooks whose contacts contain a certain Contact.

Is there a way to put a clause on the query for PhoneBook that says something like

  Retrieve all Phonebooks where contacts contains currentUser 

?

1240ea19b2710b8894eeeef9c4242da3.png

Sure. here’s the whereClause to use:

contacts.objectId = 'specific-contact-objectId'