# steebchen/prisma-client-go

Prisma Client Go is an auto-generated and fully type-safe database client

Repository: https://github.com/steebchen/prisma-client-go
Canonical: https://ross.abutalabs.com/products/prisma-client-go
Homepage: https://goprisma.org
Language: Go
License: Apache-2.0
License Family: permissive
Topics: go, golang, prisma, database, orm, sqlite, mysql, postgresql, mariadb, mssql, sqlserver, mongodb, sql
Archived: true
Last push: 2025-07-28T18:07:34+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 34, release rhythm 40, longevity 100
- inputs: {"age_days": 2535, "days_push": 401, "days_rel": 556, "gap_med": 19.0, "n_releases_24m": 7}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2278, forks 105 (observed 2026-08-28T04:06:33.661280+00:00)

## What it is
Prisma Client Go is an auto-generated, fully type-safe database client and query builder for Go, part of the Prisma ecosystem. It supports SQLite, MySQL, PostgreSQL, MariaDB, SQL Server, and MongoDB, and includes a CLI for schema migrations and client generation.

## Use cases
- access a postgres database with type-safe queries in go
- alternative to gorm for database access in go
- generate a go client from a prisma schema
- run database migrations from a go project
- mock database queries in go tests
- query relational data with relations and transactions in go

## When to choose
- you want compile-time type safety for database queries in Go
- you already use the Prisma ecosystem and schema format
- you want an ORM-like query builder with relations, transactions, and raw query fallback

## When to avoid
- you plan to upgrade to Prisma v7 or later, since the Go client is deprecated and won't support it
- you need a long-term supported, production-guaranteed ORM
- you prefer lightweight SQL builders or raw SQL without code generation

## Facets
- artifact type: library
- maturity: maintenance
- function: orm, database, database-driver, cli, mocking
- domain: databases, developer-tools, backend, web-development
- platform: go, cross-platform
- tags: prisma, type-safe, query-builder, code-generation, schema-migrations, deprecated

## Member repositories
- steebchen/prisma-client-go (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:33.661280+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:41:25.284627+00:00, confidence not recorded.
  - readme: https://github.com/steebchen/prisma-client-go (fetched 2026-08-28T04:06:33.661280+00:00, sha b8d3b293f96b)
  - homepage: https://goprisma.org (fetched 2026-08-29T10:21:55.317892+00:00, sha e374aca0e7a1)
  - site_page: https://goprisma.org/docs (fetched 2026-08-29T10:21:55.321759+00:00, sha 954f545f7f95)
  - site_page: https://goprisma.org/docs/getting-started (fetched 2026-08-29T10:21:55.323688+00:00, sha 588e195f9be2)
  - site_page: https://goprisma.org/docs/getting-started/quickstart (fetched 2026-08-29T10:21:55.325386+00:00, sha 513602173252)
  - site_page: https://goprisma.org/docs/getting-started/advanced (fetched 2026-08-29T10:21:55.327655+00:00, sha 69492acaacf8)
  - site_page: https://goprisma.org/docs/getting-started/cli (fetched 2026-08-29T10:21:55.329898+00:00, sha 6163222a3b33)
  - site_page: https://goprisma.org/docs/walkthrough (fetched 2026-08-29T10:21:55.331823+00:00, sha 43ba6e537f9f)
  - site_page: https://goprisma.org/docs/walkthrough/introduction (fetched 2026-08-29T10:21:55.333465+00:00, sha 72cf7560a0ad)
  - site_page: https://goprisma.org/docs/walkthrough/find (fetched 2026-08-29T10:21:55.335071+00:00, sha b9dce4daa56c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
