Closed simonw closed 2 months ago
SQLITE_EXTENSIONS
was never mentioned in our documentation, so this is a very minor breaking change (and good for pre-1.0).
Actually DATASETTE_LOAD_EXTENSION
is a better name, it matches the --load-extension
option.
Tested like this:
DATASETTE_LOAD_EXTENSION=spatialite datasette --get /-/versions.json
Returned ... {"spatialite_version": "5.1.0", "spatialite_target_cpu": "arm64-apple-darwin22.4.0"...
Spotted in:
2422
https://github.com/simonw/datasette/blob/0bc6a2af89a2201d55650c47f8cdbf8aa26255d4/datasette/cli.py#L84-L91
It's inconsistent with our other environment variables, which all use the
DATASETTE_
prefix.