https://github.com/fgribreau/postgrest-patch-request-trigger
How PostgreSQL triggers works when called with a PostgREST PATCH HTTP request
https://github.com/fgribreau/postgrest-patch-request-trigger
postgresql postgrest trigger
Last synced: 11 months ago
JSON representation
How PostgreSQL triggers works when called with a PostgREST PATCH HTTP request
- Host: GitHub
- URL: https://github.com/fgribreau/postgrest-patch-request-trigger
- Owner: FGRibreau
- Created: 2020-11-02T10:57:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-02T10:58:49.000Z (over 5 years ago)
- Last Synced: 2025-02-09T07:25:36.410Z (about 1 year ago)
- Topics: postgresql, postgrest, trigger
- Language: PLpgSQL
- Homepage: https://blog.fgribreau.com/2020/11/how-postgresql-triggers-works-when.html
- Size: 1.95 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [How PostgreSQL triggers works when called with a PostgREST PATCH HTTP request](https://blog.fgribreau.com/2020/11/how-postgresql-triggers-works-when.html)
Check out related [blog post](https://blog.fgribreau.com/2020/11/how-postgresql-triggers-works-when.html)
## Run locally
```bash
source .envrc
docker-compose up
./test.sh
```
## Credits
- [SQL-Convention](https://github.com/FGRibreau/sql-convention/)
- Code greatly inspired by [compose-postgrest](https://github.com/mattddowney/compose-postgrest)