mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Documentation for derive_named_parameters()
Closes #2284 Refs https://github.com/simonw/datasette-write/issues/7#issuecomment-1967593883
This commit is contained in:
parent
dfd4ad558b
commit
c863443ea1
2 changed files with 19 additions and 2 deletions
|
|
@ -1256,6 +1256,15 @@ Utility function for calling ``await`` on a return value if it is awaitable, oth
|
|||
|
||||
.. autofunction:: datasette.utils.await_me_maybe
|
||||
|
||||
.. _internals_utils_derive_named_parameters:
|
||||
|
||||
derive_named_parameters(db, sql)
|
||||
--------------------------------
|
||||
|
||||
Derive the list of named parameters referenced in a SQL query, using an ``explain`` query executed against the provided database.
|
||||
|
||||
.. autofunction:: datasette.utils.derive_named_parameters
|
||||
|
||||
.. _internals_tilde_encoding:
|
||||
|
||||
Tilde encoding
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue