mirror of
https://github.com/simonw/datasette.git
synced 2026-09-17 22:14:06 +02:00
Reject structured row writes to virtual and shadow tables
This commit is contained in:
parent
3f8d8417f6
commit
e036907fc3
6 changed files with 106 additions and 1 deletions
|
|
@ -1661,6 +1661,8 @@ The request body is always parsed as JSON, regardless of the request's ``Content
|
|||
|
||||
The row-based write APIs can write :ref:`binary values in JSON <binary_json_format>` using Datasette's Base64 representation for BLOB data.
|
||||
|
||||
Structured inserts, upserts, updates and deletes only support ordinary SQLite tables. Virtual tables and their internal shadow tables are rejected, including when adding rows to an existing table through the create-table API. Writes to ordinary content tables can still update full-text search indexes through configured triggers.
|
||||
|
||||
.. _ExecuteWriteView:
|
||||
|
||||
Executing write SQL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue