docs: which databases run procedures and row security

This commit is contained in:
2026-11-03 11:36:23 +01:00
parent 8f2cea5567
commit 667df8325a
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -194,6 +194,8 @@ Answer: 409
## Procedures
PostgreSQL, MySQL and SQL Server run procedures; SQLite has no functions to call. A MySQL function returns a single value, and a SQL Server function cannot change data.
A procedure calls a database function at a path you choose. A `{name}` in the path passes that segment as the argument of the same name; the body's keys pass the others. Arguments are checked by name and type, and one with a default may be left out.
A procedure is a POST unless declared `method: 'GET'`. A GET procedure takes its arguments from the query string (`/search?q=milk&limit=10`), each once, and runs in a read-only transaction: use it for a function without side effects.