type to map parameters and columns to
SQL statement to execute
model to map parameters and columns to
new instance of T with fields mapped to columns
class Model { int id; @(bind("name")) string name; } auto model = new Model(); model.id = 4; auto fetchedModel = database.single!("select * from models where id = ?;", model);
Execute a SQL statement that takes a model parameter and returns a single row