go-sql-builder-benchmarks
Benchmarking Golang SQL query builders (by stephenafamo)
sage
Trie data structure for storing and retrieving HTTP route values. Used for building Go HTTP router packages. (by nahojer)
go-sql-builder-benchmarks | sage | |
---|---|---|
2 | 1 | |
4 | 0 | |
- | - | |
2.9 | 10.0 | |
9 months ago | about 1 year ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-sql-builder-benchmarks
Posts with mentions or reviews of go-sql-builder-benchmarks.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-05.
-
Do you use generics?
However, from my benchmarks, Bob is generally faster at query building than comparable packages see benchmarks. For the ORM portions, I'm still working on the benchmarks, but it seemed quite good in my initial tests.
-
TypeSQL: 2x Faster SQL Query builder with complete spec support.
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.
sage
Posts with mentions or reviews of sage.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-05.
-
Do you use generics?
I used generics in a package for building HTTP routers using a trie data structure. The generic type represent the Handler func of the routes trie, but I wanted the consumer to be able to choose the signature for the handler. For example, they might want to define their own handler func type that returns an error, or perhaps take some arbitrary extra argument. Checkout https://github.com/nahojer/sage to learn more.
What are some alternatives?
When comparing go-sql-builder-benchmarks and sage you can also consider the following projects:
Squirrel - Fluent SQL generation for golang
Mantis - Sphire Mantis is a broadly featured Go helper library with standalone packages
sqlx - general purpose extensions to golang's database/sql
bob - SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLite
dat - Go Postgres Data Access Toolkit
lo - 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
typesql - SQL Query Builder for Go
btree - AVL balanced generic binary trees in Go
goqu - SQL builder and query library for golang
go-sql-builder-benchmarks vs Squirrel
sage vs Mantis
go-sql-builder-benchmarks vs sqlx
sage vs bob
go-sql-builder-benchmarks vs dat
sage vs lo
go-sql-builder-benchmarks vs typesql
sage vs btree
go-sql-builder-benchmarks vs btree
go-sql-builder-benchmarks vs goqu
go-sql-builder-benchmarks vs lo
go-sql-builder-benchmarks vs Mantis