golang-database-library-orm-example

Examples of using various popular database libraries and ORM in Go. (by gmhafiz)

Golang-database-library-orm-example Alternatives

Similar projects and alternatives to golang-database-library-orm-example

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better golang-database-library-orm-example alternative or higher similarity.

golang-database-library-orm-example reviews and mentions

Posts with mentions or reviews of golang-database-library-orm-example. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-12.
  • Golang Database Library and Orm Examples
    3 projects | /r/golang | 12 Dec 2022
    What I found is sqlx and sqlc are excellent for hand-rolled queries, but is poor for dynamic queries which a query builder library/orm might suite better. If there are many eager-loading table relationships, I found that orms tend to be much better. Of course these are entirely my personal opinion. I dove into more details on how each libraries and orms fares against those operations in the posts. It is also accompanied with reproducible repo at https://github.com/gmhafiz/golang-database-library-orm-example
  • Dynamic sql code during runtime.
    3 projects | /r/golang | 3 Oct 2022
    I discussed approaches using different libraries and ORMs at https://www.gmhafiz.com/blog/golang-database-library-orm-example-dynamic-list/. Though I just realised the example for squirrel is missing. Check out the code examples though
  • Scanning joined SQL rows into nested go struct
    2 projects | /r/golang | 2 Jan 2022
    I show scans for a many to many relationship between two tables. https://github.com/gmhafiz/golang-database-library-orm-example/blob/master/db/sqlc/manyToMany.go
  • What kind of things have you ran with go:generate?
    6 projects | /r/golang | 16 Dec 2021
    I made repo that compares between different libraries and orms including sqlx, sqlc, sqlboiler, gorm, and ent https://github.com/gmhafiz/golang-database-library-orm-example
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 16 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →