3 / 3
Apr 6

Is there a way to get this expression as an Atlas search query?

where('brand').is('ford')and('model').is('f150') or('brand').is('ferrari')

When I use compound the query acts like this:
x AND y AND z....

The desired result should show Ford f150 and Ferrari’s of any series but it only show Ford f150’s.

The documents looks like this

{ brand: String, series: String, }

Closed on Apr 6

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.