You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We only support IN when the right hand side is a list property, but we should also support this when the right hand side is a list of constants.
For example: fruit IN {'apple', 'orange'}. This is equivilent to fruit == 'apple' || fruit == 'orange'
This should also work with the left hand hand side being a list property. In that case fruits IN {'apple', 'orange'} will be equivalent to: ANY fruits == 'apple' || ANY fruits == 'orange'
As a next step I would like to see it also interoperate with our collections operators, so that you could do: ANY fruits IN {'apple', 'orange'} NONE fruits IN {'apple', 'orange'} ALL fruits IN {'apple', 'orange'}
We only support IN when the right hand side is a list property, but we should also support this when the right hand side is a list of constants.
For example:
fruit IN {'apple', 'orange'}
. This is equivilent tofruit == 'apple' || fruit == 'orange'
Part of #2978 and reported by realm/realm-js#2781
The text was updated successfully, but these errors were encountered: