postgresql

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Example usage of GCORM with PostgreSQL.

This file demonstrates the intended usage pattern after running `gco generate`. The generated client code provides a Prisma-like experience for database operations.

Usage:

# Set up your database URL
export DATABASE_URL="postgresql://user:password@localhost:5432/mydb"

# Generate the client code
gco generate

# Run the example
go run main.go

Jump to

Keyboard shortcuts

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