We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2374c97 commit ac9efcaCopy full SHA for ac9efca
examples/sqlite/tests/query_tests.rs
@@ -1335,3 +1335,48 @@ async fn country_having_city() {
1335
"#,
1336
)
1337
}
1338
+
1339
+#[tokio::test]
1340
+async fn film_filter_or() {
1341
+ let schema = schema().await;
1342
1343
+ assert_eq(
1344
+ schema
1345
+ .execute(
1346
+ r#"
1347
+ {
1348
+ film(
1349
+ filters: {
1350
+ or: [{ title: { contains: "LIFE" } }, { title: { contains: "DOG" } }]
1351
+ }
1352
+ ) {
1353
+ nodes {
1354
+ title
1355
1356
1357
1358
+ "#,
1359
+ )
1360
+ .await,
1361
1362
1363
+ "film": {
1364
+ "nodes": [
1365
1366
+ "title": "ANGELS LIFE"
1367
+ },
1368
1369
+ "title": "ARABIA DOGMA"
1370
1371
1372
+ "title": "DOGMA FAMILY"
1373
1374
1375
+ "title": "LIFE TWISTED"
1376
1377
+ ]
1378
1379
1380
1381
1382
+}
0 commit comments