uptrace/bun

[Question] Does Bun support optimistic locking?

Open

#1,128 opened on 2025年2月14日

GitHub で見る
 (6 comments) (1 reaction) (1 assignee)Go (279 forks)user submission
enhancementhelp wanted

Repository metrics

Stars
 (4,826 stars)
PR merge metrics
 (平均マージ 76d 17h) (30d で 1 merged PR)

説明

Hi, maintainers!

I’m considering replacement into Bun in my project and want to check if it supports optimistic locking.

If not, is there any plan to support it in the future? If there is no plan to support it, I’m thinking of implementing it using model query hooks(BeforeInsert, BeforeUpdate and BeforeDelete), but I’d love to hear if there are better approaches.

Thanks!

コントリビューターガイド