MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.03k stars 21.05k forks source link

'and' and 'or' operators are not listed #122600

Open sandervandevelde opened 2 weeks ago

sandervandevelde commented 2 weeks ago

The given sample queries contain 'and' and 'or':

(attributes.sensors = "motion" or attributes.sensors = "humidity") or attributes.type = "home-sensors"
attributes.sensors IN ["motion", "humidity", "temperature"] and attributes.floor <= 5

the 'and' and 'or' are missing in the list of allowed operands.

Please add them.

Parentheses are also shown but not mentioned too.

Please explain the behavior of the query when 'and' and 'or' operators are combined.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

PesalaPavan commented 2 weeks ago

@sandervandevelde Thanks for your feedback! We will investigate and update as appropriate.

spelluru commented 4 days ago

@george-guirguis - Could you have a look at this issue as soon as you can and respond? Thanks!