mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 17:34:32 +02:00
Python's str.isdigit() returns False for negative numbers like "-5", causing DEFAULT -5 in SQLite to be decoded as -5.0 (float) instead of -5 (int). Switch to re.fullmatch to handle the leading minus sign. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| cli.py | ||
| db.py | ||
| hookspecs.py | ||
| migrations.py | ||
| plugins.py | ||
| py.typed | ||
| recipes.py | ||
| utils.py | ||