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
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/kotlin/org/springframework/data/mongodb/core/query/TypedCriteriaExtensions.kt
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/query/TypedCriteriaExtensionsTests.kt
+12-35
Original file line number
Diff line number
Diff line change
@@ -40,22 +40,14 @@ class TypedCriteriaExtensionsTests {
40
40
.and("price").gt(1100)
41
41
.and("available").isEqualTo(true)
42
42
)
43
-
val typed =Query(
44
-
chainCriteria(
45
-
Book::price gt 1100,
46
-
Book::available isEqualTo true
47
-
)
48
-
)
43
+
val typed =Query((Book::price gt 1100) and (Book::available isEqualTo true))
0 commit comments