Make SQLType2Type support uint

This commit is contained in:
Lunny Xiao 2021-11-17 16:17:57 +08:00
parent aea91cc7de
commit ed59b3a259
1 changed files with 4 additions and 0 deletions

View File

@ -332,6 +332,10 @@ func SQLType2Type(st SQLType) reflect.Type {
return IntType
case BigInt, BigSerial:
return Int64Type
case UnsignedBit, UnsignedTinyInt, UnsignedSmallInt, UnsignedMediumInt, UnsignedInt:
return UintType
case UnsignedBigInt:
return Uint64Type
case Float, Real:
return Float32Type
case Double: