Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 499 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 499 Bytes

Prisma to Go

Parser to convert schema.prisma files into Golang structs

I appreciate Prisma’s migration management, but I prefer writing raw SQL queries over using ORMs. To combine the best of both worlds, I created this parser. It allows me to use Prisma's migration management without relying on its ORM.

Installation

go install github.com/danielmesquitta/prisma-to-go@latest

Usage

prisma-to-go --schema ./path/to/schema.prisma --output ./path/to/output/dir