TypeSQL: 2x Faster SQL Query builder with complete spec support.

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • typesql

    Discontinued SQL Query Builder for Go (by stephenafamo)

  • TypeSQL started as an experiment to see how I would rewrite a query builder for SQLBoiler v5. However, it has turned out to be good enough to stand by itself.

  • go-sql-builder-benchmarks

    Benchmarking Golang SQL query builders

  • Curiously, I decided to benchmark the performance against the currently popular and maintained query builders and it turned out to be generally 2x as fast. See Benchmarks.

  • 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.

    InfluxDB logo
  • sqlx

    general purpose extensions to golang's database/sql

  • Reads db column info from struct tag. Eg. sqlx

  • Squirrel

    Fluent SQL generation for golang

  • Optionally supports db handler for dependency injection. Eg. squirrel

  • dat

    Go Postgres Data Access Toolkit (by mgutz)

  • If you already know SQL you should be able to pick up the library with minimal effort. Eg. dat

  • goqu

    SQL builder and query library for golang

  • This one I have less of an opinion on. It depends on what kind of users you are targeting. The rabbit hole here is deep and requires real thought on how you want to structure your library.

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.

Suggest a related project

Related posts