riverqueue / riverui

A web interface for River, fast and reliable background jobs in Go.
https://ui.riverqueue.com/
Mozilla Public License 2.0
43 stars 3 forks source link

Match sqlc options of main River project #70

Closed brandur closed 4 days ago

brandur commented 4 days ago

I'm finding it a little disorienting that the use of sqlc functions in River UI are a little different than their use in the main River project due to the options in play being a little different. e.g. DBTX as a New() argument instead of one to the function itself, non-pointer parameters and return values.

Here, match the sqlc options with the main River project, and update call sites so everything works.

brandur commented 4 days ago

Thanks!