The insert command currently results in string types for every column - at least when used against CSV or TSV inputs.
It would be useful if you could do the following:
- automatically detects the column types based on eg the first 1000 records
- explicitly state the rule for specific columns
--detect-types could work for the former - or it could do that by default and allow opt-out using --no-detect-types
For specific columns maybe this:
sqlite-utils insert db.db images images.tsv \
--tsv \
-c id int \
-c score float
The
insertcommand currently results in string types for every column - at least when used against CSV or TSV inputs.It would be useful if you could do the following:
--detect-typescould work for the former - or it could do that by default and allow opt-out using--no-detect-typesFor specific columns maybe this: