Nov-20-2020, 10:24 PM
(Nov-20-2020, 10:20 PM)bowlofred Wrote: It doesn't have quotes around it like the "lumber" entry does, so it's not a string. Can you show the type of the object? If you assign it to "value" for instance, what do you get for:
print(value) print(type(value))
Maybe I just don't understand how the db stuff works with python and mysql. If I do a fetchall then it shows the number with the Decimal text before it. If I do a fetchone then it shows up as just the number.
When I do fetchone the class/type is decimal.Decimal
When I do fetchall the class/type is tuple