sqlc

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SQLTypeFor added in v0.0.3

func SQLTypeFor(dialect schema.SQLDialect, fieldType schema.FieldType) string

returns the column type used for a field in the given dialect.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(sqlDialect schema.SQLDialect) *Generator

func (*Generator) Generate

func (g *Generator) Generate(entities []schema.Entity, dir string) ([]string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL