upper/db
Data Access Layer (DAL) for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features. observed · 2026-08-28
Health v2 · maintenance only
48/100
- Activity 55
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 182
- age_days: 4698
- days_rel: 542
- days_push: 270
- n_releases_24m: 2
Adoption not part of the score
3657 stars · 237 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
upper/db is a productive data access layer (DAL) for Go that provides a database-agnostic, ORM-like API for working with SQL and NoSQL databases such as PostgreSQL, MySQL, SQLite, CockroachDB, MSSQL, and MongoDB. It supports CRUD operations, struct-to-query-result mapping, pagination, transactions, and a SQL builder for raw queries.
Use cases
- query databases in Go without writing raw SQL
- use one consistent API across PostgreSQL, MySQL, and MongoDB
- map Go structs to database query results
- implement pagination for database result sets
- run database transactions from Go code
- mix ORM-style operations with raw SQL queries
When to choose
- you want ORM-like productivity in Go while retaining the option to write raw SQL
- your application needs to support multiple database backends with a single API
- you need built-in pagination, transactions, and struct mapping
When to avoid
- you need a full-featured ORM with advanced migrations and associations
- you prefer lightweight direct database drivers like database/sql
- you use a database engine not on the supported list
Facets
library · maturity active
orm database database-driver databases backend web-development go windows cross-platform data-access-layer sql-builder postgresql mysql sqlite mongodb cockroachdb crud pagination transactions linux macos
3 sources
- readme: https://github.com/upper/db · fetched 2026-08-28 · 7aa0418abae6
- homepage: https://upper.io/ · fetched 2026-08-29 · d1b8c8735101
- site_page: https://upper.io/v4/getting-started · fetched 2026-08-29 · 82c98a1d36ce
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| upper/db | main | 48 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem