We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was trying to initalize SpatiaLite in a write connection:
>>> from datasette.app import Datasette >>> ds = Datasette(memory=True, files=[], sqlite_extensions=["spatialite"]) >>> db = ds.add_memory_database('geo') >>> await db.execute_write("select InitSpatialMetadata(1)") UUID('3f143baa-4e3d-5842-a36f-4fa2f683b72f') no such function: InitSpatialMetadata
It looks like the code that loads additional modules only works on read-only connections, not on write connections:
datasette/datasette/database.py
Lines 146 to 153 in 92a5280
Compared to:
Lines 124 to 132 in 92a5280
The text was updated successfully, but these errors were encountered:
Made this change while working on this issue:
I'm going to write a test for this that uses that sleep() SQL function from c35b84a.
sleep()
Sorry, something went wrong.
83bacfa
Release 0.60a1
dbaac79
Refs #1547, #1555, #1562, #1563, #1564, #1567, #1568, #1569, #1570, #1571, #1572
Release 0.60
cb29119
Refs #473, #625, #1527, #1544, #1547, #1551, #1552, #1555, #1556, #1557, #1563, #1564, #1568, #1570, #1575, #1579, #1588, #1594
No branches or pull requests
I was trying to initalize SpatiaLite in a write connection:
It looks like the code that loads additional modules only works on read-only connections, not on write connections:
datasette/datasette/database.py
Lines 146 to 153 in 92a5280
Compared to:
datasette/datasette/database.py
Lines 124 to 132 in 92a5280
The text was updated successfully, but these errors were encountered: