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,
}
Does this Playground represent roughly the data and logic you are interested in? Code Sandbox
hope this helps!
system
(system)
Closed
3
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.