feat: a top-level write option turns writes on for every table; 0.4.0

This commit is contained in:
2026-11-03 06:46:04 +01:00
parent 540351a3c6
commit 67ebb805bf
15 changed files with 91 additions and 31 deletions
+2
View File
@@ -37,6 +37,8 @@ Every table and view of `app` is now a resource, read-only:
curl -g 'http://localhost:3000/api/todos?select=id,name,owner(name)&status=eq.open'
```
Add `write: true` beside `expose` to create, update and delete rows in every table too. Do it once your `authorize` hook decides who may write: [Writes](./writes.md#writes-on-every-table).
## Next
- [Discovery and overrides](./discovery.md): what becomes a resource, which columns are hidden, how relations are named.