Skip to Content
Former Member
Dec 10, 2014 at 07:41 AM

Flexible Search on address fields for Companies


Hello Experts,

I'm trying to write flexible search query on address fields for retrieving matching companies. Attributes of Company Model name (String) addresses (Collection) --- etc

Attributes of Address Model city region country postal code --- etc

So here I need to select companies in city "chicago", so how to write query for getting company models by comparing city which is the attribute of Address Model?