From fc82a9bc508f120bee5dee24fefa2258d81def59 Mon Sep 17 00:00:00 2001 From: Hein Date: Fri, 7 Nov 2025 16:30:02 +0200 Subject: [PATCH] todo --- todo.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/todo.md b/todo.md index f1bc51e..642b08d 100644 --- a/todo.md +++ b/todo.md @@ -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 ### Documentation