Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. 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.
I was on a large project with Gorm (Go ORM) and what an unmaintainable mess. Trying to do complex queries in ORM when you already know SQL is a real pain. Also, the migration process on it was not powerful and failed many times. It saved me a ton of time to take individual micro-services and strip Gorm out and replace it with Standard SQL or https://sqlc.dev/
https://entgo.io is a good orm for Golang. It also built-in support for GraphQL, gRPC, Restful API
Actually, ditching flask is less readable but easily doable. https://github.com/cellularmitosis/yte.wsgi.py/blob/main/yte.wsgi.py
I think he means an sql builder like squirrel. This allows dynamic queries, but more important you can reuse function that build a where clause so you can get a count and query with that.