Skip to content

Commit cb4b599

Browse files
committed
Update docs
1 parent 213ce04 commit cb4b599

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

docs/custom-actions/action-types.md

+6
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,12 @@ Each parameter name should start with a colon (:) and be a single word. You can
306306

307307
![](/images/database.png)
308308

309+
You can auto-create the parameters from the statement by clicking the *Fill in Parameters from Statement* button. This works with both positional `(?, ?)` and named `(:id, :value)` parameters. You cannot mix named and positional parameters.
310+
311+
<center>
312+
![](/images/database-fill-params.gif)
313+
</center>
314+
309315
#### Fetching data
310316

311317
When fetching data using e.g. SELECT statements, Webhook.site automatically inserts data in a series of Custom Action Variables, which are then available to downstream actions.

docs/images/database-fill-params.gif

202 KB
Loading

docs/news.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Subscribe below to receive updates about improvements and new features on Webhoo
2424

2525
## 30 January 2025
2626

27-
* Database Query action now supports positional parameters and autofilling parameters from the statement.
27+
* Database Query action now supports positional parameters and autofilling parameters from the statement. [More info here](/custom-actions/action-types.html#using-parameters)
2828

2929
## 21 January 2025
3030

0 commit comments

Comments
 (0)