Make SQLType2Type support uint
This commit is contained in:
parent
aea91cc7de
commit
ed59b3a259
|
@ -332,6 +332,10 @@ func SQLType2Type(st SQLType) reflect.Type {
|
||||||
return IntType
|
return IntType
|
||||||
case BigInt, BigSerial:
|
case BigInt, BigSerial:
|
||||||
return Int64Type
|
return Int64Type
|
||||||
|
case UnsignedBit, UnsignedTinyInt, UnsignedSmallInt, UnsignedMediumInt, UnsignedInt:
|
||||||
|
return UintType
|
||||||
|
case UnsignedBigInt:
|
||||||
|
return Uint64Type
|
||||||
case Float, Real:
|
case Float, Real:
|
||||||
return Float32Type
|
return Float32Type
|
||||||
case Double:
|
case Double:
|
||||||
|
|
Loading…
Reference in New Issue