@DormPatch!User struct UserSelection { string username; } db.select!UserSelection; // is equivalent to struct UserSelection { string username; } db.select!(User, UserSelection); // is equivalent to db.select!(User, "username"); // is equivalent to db.select!(User, User.username); // is equivalent to db.select!(User, Tuple!(string, "username"));
UDA to mark patch structs with, to make selecting them easier.