This commit is contained in:
Hein 2025-11-07 16:30:02 +02:00
parent c26ea3cd61
commit fc82a9bc50

View File

@ -115,6 +115,11 @@ func (b *BunSelectQuery) Preload(relation string, conditions ...interface{}) com
--- ---
### 6. Pre / Post select/update/delete query in transaction.
- This will allow us to set a user before doing a select
- When making changes, we can have the trigger fire with the correct user.
- Maybe wrap the handleRead,Update,Create,Delete handlers in a transaction with context that can abort when the request is cancelled or a configurable timeout is reached.
## Additional Considerations ## Additional Considerations
### Documentation ### Documentation