package
0.42.0
Repository: https://github.com/steebchen/prisma-client-go.git
Documentation: pkg.go.dev

# README

Generator

This package handles the actual generation of the Go client files. It handles copying engines and converting templates with a given AST to a Go client ORM file.

Note that there is a lot of special logic around "DMMF" as the design was initially intended for JavaScript, but not for type-safe languages like Go.

# Packages

No description provided by the author
No description provided by the author

# Functions

Run invokes the generator, which builds the templates and writes to the specified output file.
Transform builds the AST from the flat DMMF so it can be used properly in templates.
No description provided by the author

# Constants

No description provided by the author
Provider values goland:noinspection GoUnusedConst.
Provider values goland:noinspection GoUnusedConst.
Provider values goland:noinspection GoUnusedConst.
Provider values goland:noinspection GoUnusedConst.

# Structs

BinaryPaths holds the information of the paths to the Prisma binaries.
No description provided by the author
Config describes the options for the Prisma Client Go generator.
Datasource describes a Prisma data source of any database type.
EnvValue contains a string value and optionally information if, and if yes from where, an env var is used for this value.
Generator describes a generator defined in the Prisma schema.
Root describes the generator output root.
No description provided by the author

# Type aliases

Provider describes the Database of this datasource.