On this page

Seagull documentation

Seagull turns plain SQL into type-safe Go. These docs cover the whole system: writing and checking queries, using generated code, operating migrations, embedding the compiler and extending its dialects and emitters.

Start here

Install Seagull, learn the core concepts, then build your first query. The learning sequence uses SQLite and needs no separate database server.

Find what you need

Your needWhere to go
Learn through a complete applicationTutorials
Complete a specific taskHow-to guides
Look up syntax, defaults or contractsReference
Understand the designExplanation
Explore runnable SQL and GoExamples
Inspect SQL in the browserPlayground

Common destinations

Seagull is in alpha. Documentation describes the accompanying source; pin versions and review generated changes when upgrading.