Versions in this module Expand all Collapse all v1 v1.0.0 Jan 30, 2023 Changes in this version + const DefaultPackageName + func Run(input *Root) error + func Transform(input *Root) + type BinaryPaths struct + IntrospectionEngine map[string]string + MigrationEngine map[string]string + QueryEngine map[string]string + type BinaryTarget struct + FromEnvVar string + Value string + type Config struct + DisableGitignore string + DisableGoBinaries string + EngineType string + Package types.String + type ConnectorType string + const ConnectorTypeMongo + const ConnectorTypeMySQL + const ConnectorTypePostgreSQL + const ConnectorTypeSQLite + type Datasource struct + Config interface{} + ConnectorType ConnectorType + Name types.String + URL EnvValue + type EnvValue struct + FromEnvVar string + Value string + type Generator struct + BinaryTargets []BinaryTarget + Config Config + Name types.String + Output *Value + PinnedBinaryTarget string + Provider *Value + type Root struct + AST *transform.AST + BinaryPaths BinaryPaths + DMMF dmmf.Document + Datamodel string + Datasources []Datasource + Generator Generator + OtherGenerators []Generator + SchemaPath string + func (r *Root) GetEngineType() string + type Value struct + FromEnvVar string + Value string