Execute a SQL statement that takes a model parameter
type to map parameters to
SQL statement to execute
model to map parameters to
class Model { int id; @(bind("name")) string name; } auto model = new Model(); model.name = "value"; database.execute!(Model)("insert into models(name) values(?(name));", model);
See Implementation
Execute a SQL statement that takes a model parameter