use of com.developmentontheedge.sql.model.AstUpdate in project be5 by DevelopmentOnTheEdge.
the class AstUpdateBuildTest method testMany.
@Test
public void testMany() {
HashMap<Object, Object> map = new HashMap<>();
map.put("count", 4);
map.put("name", "?");
AstUpdate update = Ast.update("users").set(map);
assertEquals("UPDATE users SET count = 4, name =?", update.format());
}
Aggregations