mirror of
https://github.com/simonw/datasette.git
synced 2026-06-06 00:56:57 +02:00
Rename insert-query to store-query
Also queries/insert to queries/store Refs https://github.com/simonw/datasette/pull/2741#issuecomment-4549103663
This commit is contained in:
parent
180a6a86fd
commit
24887004cf
7 changed files with 47 additions and 40 deletions
|
|
@ -518,14 +518,15 @@ Listing saved queries
|
|||
Creating saved queries in the UI
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
``GET /<database>/-/queries/-/create`` provides a form for creating saved queries.
|
||||
``GET /<database>/-/queries/store`` provides a form for creating stored queries.
|
||||
|
||||
.. _QueryStoreView:
|
||||
.. _QueryInsertView:
|
||||
|
||||
Creating saved queries
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
``POST /<database>/-/queries/insert`` creates a saved query. This requires ``execute-sql`` and ``insert-query`` for the database.
|
||||
``POST /<database>/-/queries/store`` creates a stored query. This requires ``execute-sql`` and ``store-query`` for the database.
|
||||
|
||||
.. _QueryParametersView:
|
||||
.. _ExecuteWriteView:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue