go-sql-builder-benchmarks
dat
go-sql-builder-benchmarks | dat | |
---|---|---|
2 | 2 | |
4 | 609 | |
- | - | |
2.9 | 0.0 | |
9 months ago | over 3 years ago | |
Go | Go | |
MIT License | GNU General Public License v3.0 or later |
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
-
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.
dat
-
TypeSQL: 2x Faster SQL Query builder with complete spec support.
If you already know SQL you should be able to pick up the library with minimal effort. Eg. dat
-
Twelve Years of Go
There are ORMs available for Golang, but my experience has been better with packages like sqlx [1] or dat [2]. We've since been using SQLX for pretty much all DBMS related work, and regret nothing. In my experience SQLX gave us the right balance between abstraction and control.
[1] http://jmoiron.github.io/sqlx/
[2] https://github.com/mgutz/dat
What are some alternatives?
Squirrel - Fluent SQL generation for golang
noms - The versioned, forkable, syncable database
sqlx - general purpose extensions to golang's database/sql
xo - Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server
sage - Trie data structure for storing and retrieving HTTP route values. Used for building Go HTTP router packages.
pgweb - Cross-platform client for PostgreSQL databases
typesql - SQL Query Builder for Go
tidb - TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://tidbcloud.com/free-trial
btree - AVL balanced generic binary trees in Go
rqlite - The lightweight, distributed relational database built on SQLite.
goqu - SQL builder and query library for golang
Tile38 - Real-time Geospatial and Geofencing