mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-03 21:07:49 +08:00
Add test
This commit is contained in:
parent
65bba7129e
commit
16a4086f66
@ -1098,6 +1098,13 @@ public abstract class AbstractJPATest {
|
||||
assertEquals(0L, query().from(show).where(show.acts.containsValue("C")).fetchCount());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void Map_Contains() {
|
||||
QShow show = QShow.show;
|
||||
assertEquals(1L, query().from(show).where(show.acts.contains("a", "A")).fetchCount());
|
||||
assertEquals(0L, query().from(show).where(show.acts.contains("X", "X")).fetchCount());
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void Map_Join() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user