Remove unneeded typecast when advancing a column in mapping macro
This commit is contained in:
parent
552b6e12b4
commit
99352d9d2d
|
@ -104,7 +104,7 @@ module DB
|
||||||
{% if strict %}
|
{% if strict %}
|
||||||
raise DB::MappingException.new("unknown result set attribute: #{col_name}")
|
raise DB::MappingException.new("unknown result set attribute: #{col_name}")
|
||||||
{% else %}
|
{% else %}
|
||||||
%rs.read(Nil)
|
%rs.read
|
||||||
{% end %}
|
{% end %}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue