Prisma Client Go is an auto-generated query builder that enables type-safe database access and reduces boilerplate. You can use it as an alternative to traditional ORMs such as gorm, xorm, sqlboiler and most database-specific tools.
It is part of the Prisma ecosystem. Prisma provides database tools for data access, declarative data modeling, schema migrations and visual data management.
To get started, read our quickstart tutorial to add Prisma to your project in just a few minutes.
The go client works slightly different than the normal Prisma tooling. When you're using the go client, whenever you see Prisma CLI commands such as
prisma ..., you should always write
go run github.com/prisma/prisma-client-go ... instead.
# requires docker to be installed go run ./test/setup/init setup # sets up docker containers for integration testing go generate ./... go test ./... -v # to teardown docker containers: go run ./test/setup/init teardown
We use conventional commits (also known as semantic commits) to ensure consistent and descriptive commit messages.
If you have a security issue to report, please contact us at [email protected]