mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-19 06:54:25 +02:00
Closes #702. A CSV that's only a header row leaves insert_all with no rows, so no table gets created. The follow-up transform(types=tracker.types) hit the 'Cannot transform a table that doesn't exist yet' assertion. Guard both insert paths on the table actually existing. Signed-off-by: Charlie Tonneslan <cst0520@gmail.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| cli.py | ||
| db.py | ||
| hookspecs.py | ||
| plugins.py | ||
| py.typed | ||
| recipes.py | ||
| utils.py | ||