Fix for REAL columns by CSV --detect-types

Refs https://github.com/simonw/sqlite-utils/issues/645#issuecomment-3568947189
This commit is contained in:
Simon Willison 2025-11-23 21:11:27 -08:00
commit 3b18b9e149
4 changed files with 26 additions and 4 deletions

View file

@ -419,7 +419,7 @@ def dump(path, load_extension):
@click.argument(
"col_type",
type=click.Choice(
["integer", "int", "float", "text", "str", "blob", "bytes"],
["integer", "int", "float", "real", "text", "str", "blob", "bytes"],
case_sensitive=False,
),
required=False,