uptrace/bun

[Question] Does Bun support optimistic locking?

Offen

#1.128 geöffnet am 14.02.2025

 (6 Kommentare) (1 Reaktion) (1 zugewiesene Person)Go (279 Forks)user submission
enhancementhelp wanted

Repository-Metriken

Stars
 (4.826 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 76T 17h) (1 gemergte PR in 30 T)

Beschreibung

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!

Contributor Guide