Strictly type Integer and Real expressions.

This commit is contained in:
zer0sub 2019-05-31 12:59:57 +02:00
parent 7f5ba98819
commit 2b6288d317
32 changed files with 640 additions and 547 deletions

View file

@ -612,7 +612,7 @@ func newScanType(columnType *sql.ColumnType) reflect.Type {
return nullStringType
case "FLOAT4":
return nullFloatType
case "FLOAT8", "NUMERIC":
case "FLOAT8", "NUMERIC", "DECIMAL":
return nullFloat64Type
case "BOOL":
return nullBoolType