#261261st of 358 in Backends, databases and hosting
bob
Go SQL toolkit with query builder, generated models, factories and typed queries
- Stars
- 1.8k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Go
1,692 on 27 Apr 20261,807 on 23 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Bob is a set of Go packages that starts as a dialect-specific query builder and can be adopted step by step up to generated ORM models, test factories and sqlc-style typed query code. All layers support Postgres, MySQL/MariaDB and SQLite. It is a general database library with no AI features, so it fits this list only as a backend building block.
Who it is for: Go developers who want typed SQL access without a heavy ORM
Strengths
- Adoptable in layers, from raw query builder to generated ORM and factories
- Hand-written builder per dialect for Postgres, MySQL/MariaDB and SQLite
- Generates factories that create dependent rows for tests
- Generates typed Go code from hand-written SQL, like sqlc
Weaknesses
- Go only; no support for other languages
- Supports only three databases: Postgres, MySQL/MariaDB, SQLite
- Query builder alone gives no type safety without generated mods
- No AI features; it is a general SQL library
What it needs
- no GPU
- Needs Postgres, MySQL/MariaDB or SQLite database
What changed
- v0.51.0 ↗ (opens in a new tab)Breaking
“BREAKING: The minimum supported Go version is now 1.25 (go 1.25.0 in go.mod), because github.com/jackc/pgx/v5 v5.9 requires it. Projects on Go 1.24 or older can no longer build bob and must upgrade t…”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- Bob is not working with pgx array types ↗ (opens in a new tab)0 reactions · closed 6 Oct 2026Fixed by Pgx native arrays ↗ (opens in a new tab)
- Nullable array columns (text[], jsonb[]) fail to scan with the native pgx driver ↗ (opens in a new tab)0 reactions · closed 6 Oct 2026Fixed by Pgx native arrays ↗ (opens in a new tab)
- Issue with v0.49.0 and generate queries ↗ (opens in a new tab)0 reactions · closed 2 Aug 2026Fixed by fix(psql): handle duplicate parameter refs ($N) in query parsing ↗ (opens in a new tab)
- Model plugin emits unused uuid import for tables without UUID columns ↗ (opens in a new tab)0 reactions · closed 11 Jul 2026Fixed by fix(gen): don't import a type's package when only optional expressions use it ↗ (opens in a new tab)
- DB Has multiple constraints, only 1 constraint error is generated ↗ (opens in a new tab)0 reactions · closed 28 May 2026Fixed by fix: iterate over all schema constraint errors not just the first ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Backends, databases and hosting
See all 358| Rank | Project | Score |
|---|---|---|
| #259 | wrangler-actionGitHub Action that runs Wrangler to deploy Cloudflare Workers and Pages | 61 out of 100 |
| #260 | nitricMulti-language backend framework that infers cloud infrastructure from app code | 61 out of 100 |
| #262 | nuxt-hub/coreNuxt module adding SQL database, blob storage, cache and KV to Nuxt apps | 61 out of 100 |
| #263 | busabaseShared database and workspace where multiple AI agents read and write reviewed records | 61 out of 100 |
| #264 | deployerPHP deployment tool with zero-downtime releases and framework recipes | 60 out of 100 |