create table coldcnt (timestamp datetime, value int);
then the value field is only representable as Double, Float or Rational. This is counterintuitive and probably wrong (i.e. may lead to wrong result). Internally, value field becomes int(11). Regardless of the number of digits, an integer SQL field ought to be representable as Integer haskell type, even if it is not representable as Int type.
If I
then the
value
field is only representable as Double, Float or Rational. This is counterintuitive and probably wrong (i.e. may lead to wrong result). Internally,value
field becomesint(11)
. Regardless of the number of digits, an integer SQL field ought to be representable asInteger
haskell type, even if it is not representable asInt
type.