aarondl/sqlboiler

Generate a Go ORM tailored to your database schema.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 34 minutes ago
Added to GitGenius on September 9th, 2026
Created on February 21st, 2016
Open Issues & Pull Requests: 108 (+0)
GitHub issues: Enabled
Number of forks: 559
Total Stargazers: 6,990 (+0)
Total Subscribers: 72 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 16.5 hours
Mean response time: 23.4 days
90th percentile: 75.8 days
Tracked items: 38

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 19
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 890 days
Stale 30+ days: 18
Stale 90+ days: 17

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • help wanted (13)
  • bug (11)
  • enhancement (2)
  • feature request (2)
  • breaking (1)
  • performance (1)
  • question (1)
  • wontfix (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

SQLBoiler is a code generator that produces a Go ORM tailored to your database schema.

The tool addresses the verbosity and boilerplate inherent in working with Go's database/sql package by taking a database-first approach. Rather than defining your schema in code, you create your database structure first using migration tools, then SQLBoiler generates type-safe ORM code from that schema. The generated models are normal Go structs with methods for querying and managing relationships, avoiding reflection-based magic and providing performance comparable to hand-written database code.

SQLBoiler suits projects where you control the database schema and want to eliminate SQL boilerplate while maintaining Go's simplicity and performance characteristics. It works with PostgreSQL, MySQL, SQLite, and MSSQL. The README identifies two actively maintained alternatives: Bob, which was inspired by SQLBoiler and created by one of its former maintainers, and sqlc, which generates type-safe code from SQL queries but is not an ORM and takes a different architectural approach.

The project is in maintenance mode, accepting bug fixes and compatibility updates from the community but not pursuing new features. Maintainers generally do not resolve reported issues, instead encouraging community members to help each other. Only version 4 remains maintained, with earlier versions no longer supported.