-
Notifications
You must be signed in to change notification settings - Fork 131
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Hi, great project!
I'm looking at using this to replace Asynq in my application and remove the Redis dependency. I'm wondering how I can integrate this with Gorm and insert jobs as part of a Gorm transaction - they are both using the PGX driver so it should be possible but Gorm is wrapping transactions in layers of abstraction. A dirty workaround might be to get Gorm to execute the insert query here: https://github.com/riverqueue/river/blob/master/internal/dbsqlc/river_job.sql.go#L450 but that doesn't seem ideal.
Gorm is a popular ORM so I expect easy integration would improve adoption of River...
TN1ck, unevenit, kikihakiem, Jpnock, kidlj and 6 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request