Hi;
How can I use and or together in the same query.
for example; something like this but this is not working.
query1.and((query2).or(query4)).and(query3).and(query5)
Could you please share an example.
#query #or #and
Hi;
How can I use and or together in the same query.
for example; something like this but this is not working.
query1.and((query2).or(query4)).and(query3).and(query5)
Could you please share an example.
#query #or #and
no answer from anyone?
Note that, as stated in the and condition documentation:
"when chaining multiple WixDataFilter functions to a query an add condition is assumed. In such cases, you do not need to add a call to the and() function"
See the second example in the and condition documentation which illustrates the user of the or condition together with the assumed and condition . That is, the example uses both and and or , but the and is assumed.