Registry / orm / volatiletech-sqlboiler-v4

volatiletech-sqlboiler-v4

JSON →
library4.19.7gogounverified

SQLBoiler is a Go ORM generator that produces a Go ORM from your database schema, with a command-line interface for code generation.

go get github.com/volatiletech/sqlboiler/v4
INSTALL
IMPORT
SIG · VOLATILETECH-SQLBO
V
volatiletech-sqlboiler-v4
ormgov4.19.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sqlboiler
github.com/volatiletech/sqlboiler/v4

Sets up the database connection for SQLBoiler.

package main import ( "database/sql" "fmt" _ "github.com/lib/pq" "github.com/volatiletech/sqlboiler/v4/boil" ) func main() { db, _ := sql.Open("postgres", "dsn") boil.SetDB(db) fmt.Println("SQLBoiler ready") }
Debug
Known issues
gotchaGenerated models are tied to a specific database schema; schema changes require regeneration.
fix
Re-run sqlboiler after schema changes.
affects: >=4.0.0
Upgrade
Version history
4.19.7latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
38
Resources
volatiletech-sqlboiler-v4 — go get volatiletech-sqlboiler-v4 · libregistry