add GlobalDbConfig

This commit is contained in:
Looly
2020-07-15 17:29:39 +08:00
parent e50942efbc
commit 84c38aa3f0
8 changed files with 91 additions and 14 deletions

View File

@@ -92,6 +92,13 @@ public class CRUDTest {
Assert.assertEquals(2, results.size());
}
@Test
public void findInTest3() throws SQLException {
List<Entity> results = db.findAll(Entity.create("user")
.set("id", new long[]{1, 2, 3}));
Assert.assertEquals(2, results.size());
}
@Test
public void findAllTest() throws SQLException {
List<Entity> results = db.findAll("user");