Ross ROSS = Recommend OSS · open-source software intelligence for agents

doug-martin/goqu

SQL builder and query library for golang observed · 2026-08-28

github.com/doug-martin/goqu · homepage · Go · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • 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: n/a
  • age_days: 4212
  • days_rel: n/a
  • days_push: 833
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2671 stars · 223 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

goqu is an expressive SQL query builder and executor library for Go, supporting multiple database dialects like PostgreSQL, MySQL, SQLite3, and SQL Server. It provides a type-safe DSL for building SELECT, INSERT, UPDATE, and DELETE statements with parameter interpolation and row scanning into structs, while explicitly not being a full ORM.

Use cases

  • build SQL queries programmatically in Go
  • generate parameterized SQL for postgres, mysql, or sqlite
  • scan query results into Go structs or primitive values
  • write database-agnostic queries across multiple SQL dialects
  • catch SQL construction errors at compile time with an expressive DSL
  • interpolate query parameters for debugging logged SQL
  • build insert, multi-insert, update, and delete statements

When to choose

  • you want programmatic SQL generation without a full ORM's associations and hooks
  • you need to target multiple SQL dialects with one query-building API
  • you prefer mixing hand-written SQL with builder-generated queries
  • you want compile-time safety for common SQL expression construction

When to avoid

  • you need ORM features like associations, hooks, or migrations - use gorm instead
  • you want to write raw SQL exclusively without a builder layer
  • you need every database-specific SQL nuance, since goqu covers only common expressions

Facets

library · maturity stable

database orm serialization databases developer-tools backend go windows cross-platform sql-builder query-builder querybuilder postgresql mysql sqlite sqlserver dialects parameter-interpolation not-an-orm linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
doug-martin/goqumain23

For agents

markdown · JSON · MCP: product_card(name="doug-martin/goqu")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem