diff --git a/src/db/mapping.cr b/src/db/mapping.cr index 04949ce..126b4c8 100644 --- a/src/db/mapping.cr +++ b/src/db/mapping.cr @@ -104,7 +104,7 @@ module DB {% if strict %} raise DB::MappingException.new("unknown result set attribute: #{col_name}") {% else %} - %rs.read(Nil) + %rs.read {% end %} end end