uptrace/bun

[Question] Does Bun support optimistic locking?

Aberta

#1.128 aberto em 14 de fev. de 2025

 (6 comentários) (1 reação) (1 responsável)Go (279 forks)user submission
enhancementhelp wanted

Métricas do repositório

Stars
 (4.826 estrelas)
Métricas de merge de PR
 (Mesclagem média 76d 17h) (1 fundiu PR em 30d)

Description

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!

Guia do colaborador