E
E
Evstegney Chachlyk2019-06-04 13:34:48
Python
Evstegney Chachlyk, 2019-06-04 13:34:48

How to deal with OverflowError: Python int too large to convert to SQLite INTEGER?

I use peewee to interact with the
database peewee.IntegerField()
cannot change

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2019-06-05
@onime_ne_smotru

1. Use a text field for storage. Just do a type conversion.
2. Use a more suitable database (Postgres, MySQL)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question