List<R> mapRow<R>(String name, R Function(Row) block) { final rs = query(name); return rs.mapList((e) => block(e)); }