Our great sponsors
-
Short answer, you can’t, at least not directly, since sqlx isn’t an ORM. I’d check out gorm for something like that.
-
Had a similar issue and the only Go library I've found, that can do such a scan automatically for you is this one: https://github.com/go-jet/jet.
-
Mergify
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
-
Should work for bun as well: https://bun.uptrace.dev/guide/relations.html#has-many-relation
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- Does Go, has something similar to Laravel eloquent (ORM) ?
- Show HN: A Go framework for your projects
- Is there a DB framework that can manage migrations like Ruby on Rails ?
- The "preferred" way of mapping SQL results in Golang is honestly, subjectively, awful, how to deal with this
- Auto generate go code for API endpoints from DAO functions?