Skip to content

danielmesquitta/prisma-to-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Convert Prisma schema to Golang structs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages