# aarondl/sqlboiler

Generate a Go ORM tailored to your database schema.

Repository: https://github.com/aarondl/sqlboiler
Canonical: https://ross.abutalabs.com/products/sqlboiler
Language: Go
License: NOASSERTION
License Family: other
Topics: go, orm, golang, sqlboiler, database, postgresql, mysql, sqlite3, postgres, mssql
Last push: 2026-07-12T21:57:05+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 40, longevity 100
- inputs: {"age_days": 3846, "days_push": 52, "days_rel": 432, "gap_med": 5.5, "n_releases_24m": 9}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6991, forks 559 (observed 2026-08-28T04:09:52.234514+00:00)

## What it is
SQLBoiler is a database-first ORM generator for Go that introspects your existing database schema and generates type-safe, ActiveRecord-style Go code tailored to it. It supports PostgreSQL, MySQL, SQLite3, and MSSQL and is currently in maintenance mode.

## Use cases
- generate a Go ORM from an existing database schema
- eliminate database/sql boilerplate in a Go backend
- work with a legacy Rails-style database from Go
- get ActiveRecord-like productivity in Go
- generate type-safe models for PostgreSQL or MySQL
- manage relationships between models without reflection

## When to choose
- you have an existing database schema and want generated, type-safe Go models
- you want ActiveRecord-like ergonomics without reflection overhead
- you use PostgreSQL, MySQL, SQLite3, or MSSQL in a Go project

## When to avoid
- you want an actively developed project with new features (consider Bob or sqlc)
- you prefer a code-first ORM like GORM where Go structs define the schema
- you need GOPATH-style projects (v4 requires Go modules)

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: orm, database, database-driver
- domain: databases, backend, developer-tools, web-development
- platform: go, cli, windows
- tags: database-first, code-generation, activerecord, sql, postgres, mysql, sqlite, mssql, linux, macos

## Member repositories
- aarondl/sqlboiler (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:52.234514+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:41:07.144947+00:00, confidence not recorded.
  - readme: https://github.com/aarondl/sqlboiler (fetched 2026-08-28T04:09:52.234514+00:00, sha c331e44015fe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
