sql

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryCodeMod

type QueryCodeMod struct {
	WorkingDir string
	Pkg        string
	Model      string
	Field      string
	List       bool
}

func NewQueryCodeMod

func NewQueryCodeMod(wd, pkg, model, field string, list bool) *QueryCodeMod

func (*QueryCodeMod) Apply

func (cm *QueryCodeMod) Apply(ctx context.Context) error

func (*QueryCodeMod) Name

func (cm *QueryCodeMod) Name() string

type SaveCodeMod

type SaveCodeMod struct {
	WorkingDir string
	Pkg        string
	Model      string
}

func NewSaveCodeMod

func NewSaveCodeMod(wd, pkg, model string) *SaveCodeMod

func (*SaveCodeMod) Apply

func (cm *SaveCodeMod) Apply(ctx context.Context) error

func (*SaveCodeMod) Name

func (cm *SaveCodeMod) Name() string

Jump to

Keyboard shortcuts

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