@@ -2153,10 +2153,7 @@ apiDescribe('Queries', persistence => {
2153
2153
coll ,
2154
2154
and (
2155
2155
where ( 'a' , 'in' , [ 2 , 3 ] ) ,
2156
- or (
2157
- where ( 'b' , 'array-contains-any' , [ 0 , 7 ] ) ,
2158
- where ( 'c' , '==' , 20 )
2159
- )
2156
+ or ( where ( 'b' , 'array-contains-any' , [ 0 , 7 ] ) , where ( 'c' , '==' , 20 ) )
2160
2157
)
2161
2158
) ,
2162
2159
'doc3' ,
@@ -2259,21 +2256,15 @@ apiDescribe('Queries', persistence => {
2259
2256
return withTestCollection ( persistence , testDocs , async coll => {
2260
2257
// Two IN operations on different fields with disjunction.
2261
2258
await checkOnlineAndOfflineResultsMatch (
2262
- query (
2263
- coll ,
2264
- or ( where ( 'a' , 'in' , [ 2 , 3 ] ) , where ( 'b' , 'in' , [ 0 , 2 ] ) ) ,
2265
- ) ,
2259
+ query ( coll , or ( where ( 'a' , 'in' , [ 2 , 3 ] ) , where ( 'b' , 'in' , [ 0 , 2 ] ) ) ) ,
2266
2260
'doc1' ,
2267
2261
'doc3' ,
2268
2262
'doc6'
2269
2263
) ;
2270
2264
2271
2265
// Two IN operations on different fields with conjunction.
2272
2266
await checkOnlineAndOfflineResultsMatch (
2273
- query (
2274
- coll ,
2275
- and ( where ( 'a' , 'in' , [ 2 , 3 ] ) , where ( 'b' , 'in' , [ 0 , 2 ] ) ) ,
2276
- ) ,
2267
+ query ( coll , and ( where ( 'a' , 'in' , [ 2 , 3 ] ) , where ( 'b' , 'in' , [ 0 , 2 ] ) ) ) ,
2277
2268
'doc3'
2278
2269
) ;
2279
2270
0 commit comments