# How to query an embedded property?
PREREQUISITE
Compose the query & use matches to query an embedded property:
def getEmployeesInCity(city: String): List[EmployeeRow] = {
val addressQuery = AddressQuery().city.is(city)
val employeesInCity = EmployeeQuery().address.matches(addressQuery).find
employeesInCity
}
REFERENCES