fix: driver peers are optional; docs sentences that no longer matched the examples; 0.3.1

This commit is contained in:
2026-11-02 22:47:03 +01:00
parent 8fc42bc33b
commit a649a5c1ef
11 changed files with 55 additions and 17 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ A message never contains SQL or database text.
| Code | Status | Means |
|---|---|---|
| `not_found` | 404 | no such resource, or no such row, or a row you may not see |
| `method_not_allowed` | 405 | the resource does not allow this method, or a procedure was not called with POST |
| `method_not_allowed` | 405 | the resource does not allow this method, or a procedure was called with another method than its own |
| `unknown_column` | 400 | the column does not exist or is hidden |
| `unknown_relation` | 400 | the relation does not exist |
| `unknown_operator` | 400 | the operator is not one of `eq neq gt gte lt lte in like ilike match imatch is ov cs cd` |
+2 -2
View File
@@ -162,7 +162,7 @@ POST /steps
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=vpn&limit=10`), each once, and runs in a read-only transaction: use it for a function without side effects.
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.
```http
POST /todos/3/complete
@@ -174,7 +174,7 @@ POST /todos/3/complete
3
```
A function returning a set answers an array of its rows. Mail relay belongs to Ada since the update above.
A function returning a set answers an array of its rows. File taxes belongs to Ada since the update above.
```http
POST /tags/home/todos