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

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

Our great sponsors
  • JetBrains - Developer Ecosystem Survey 2022
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • typesql

    SQL Query Builder for Go

    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.

  • JetBrains

    Developer Ecosystem Survey 2022. Take part in the Developer Ecosystem Survey 2022 by JetBrains and get a chance to win a Macbook, a Nvidia graphics card, or other prizes. We’ll create an infographic full of stats, and you’ll get personalized results so you can compare yourself with other developers.

  • 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