Prisma alternatives and similar packages
Based on the "ORM" category.
Alternatively, view prisma-client-go alternatives based on common mentions on social networks and blogs.
-
upper.io/db
Data Access Layer (DAL) for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features. -
xorm
xorm是一个简单而强大的Go语言ORM库,通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本,为xorm提供类似ibatis的配置文件及动态SQL支持,支持AcitveRecord操作 -
go-queryset
100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood. -
golobby/orm
A lightweight yet powerful, fast, customizable, type-safe object-relational mapper for the Go programming language. -
lore
Light Object-Relational Environment (LORE) provides a simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go
CodeRabbit: AI Code Reviews for Developers
Do you think we are missing an alternative of Prisma or a related project?
Popular Comparisons
README
Prisma Client Go Typesafe database access for Go Quickstart • Website • Docs • API reference • Blog • Slack • Twitter
Deprecation note
Prisma Client Go is no longer officially maintained. Read this issue to learn more.
Description
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.
NOTE: Prisma Client Go is currently offered under our early access program. There will be documented breaking changes with new releases.
Getting started
To get started, [read our quickstart tutorial](./docs/quickstart.md) to add Prisma to your project in just a few minutes.
You also might want to read [deployment tips](./docs/deploy.md) and the [full API reference](./docs/reference).
Notes
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.
If you just work with the Go client and don't have (or want) the NodeJS Prisma CLI installed, you can set up an alias so that you can write prisma
commands as usual, but it'll invoke the real locally bundled Prisma CLI. To do that, edit your ~/.bashrc
or ~/.zshrc
and add:
alias prisma="go run github.com/prisma/prisma-client-go"
Now prisma generate
and any other command will work, and it'll just run 1go run github.com/prisma/prisma-client-go generate
under the hood.
Contributing
Check out our [advanced contributing guide](./CONTRIBUTING.md).
Security
If you have a security issue to report, please contact us at [email protected]
*Note that all licence references and agreements mentioned in the Prisma README section above
are relevant to that project's source code only.