generate

command
v1.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package main generates SQLite schema types from PowerSync.

It boots a temp database with the PowerSync extension and embedded schema, then reflects the schema back to a SQL file for sqlc.

Prerequisites: Run `go generate ./internal/powersync` first to generate schema.json.

Usage:

doppler run -- go generate ./internal/sqlite

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL