Open AmdRyZen opened 5 months ago
https://github.com/six-ddc/sql-builder/blob/master/README.md?plain=1#L69
// Update with positional parameters
UpdateModel uP;
Param mark = "?";
uP.update("user")
.set("name", mark)
("age", mark)
("score", mark)
("address", mark)
.where(column("id").in(a));
assert(uP.str() ==
"update user set name = ?, age = ?, score = ?, address = ? where id in (1, 2, 3)");
可以支持占位符吗