db

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddCommand

func NewAddCommand(updateSqlc *Add) *cli.Command

func NewDbCommand

func NewDbCommand(
	updateSqlc *UpdateSQLCConfig,
	add *Add,
	migrate *Migrate,
	rollback *Rollback,
	generate *Generate,
) *cli.Command

func NewGenerateCommand

func NewGenerateCommand(updateSqlc *Generate) *cli.Command

func NewMigrateCommand

func NewMigrateCommand(updateSqlc *Migrate) *cli.Command

func NewRollbackCommand

func NewRollbackCommand(updateSqlc *Rollback) *cli.Command

func NewUpdateSQLCConfigCommand

func NewUpdateSQLCConfigCommand(updateSqlc *UpdateSQLCConfig) *cli.Command

Types

type Add

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

func NewAdd

func NewAdd(
	action *action.UpdateSqlcConfig,
) *Add

func (*Add) Invoke

func (c *Add) Invoke(ctx *cli.Context) error

type Generate

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

func NewGenerate

func NewGenerate(action *action.UpdateSqlcConfig) *Generate

func (*Generate) Invoke

func (c *Generate) Invoke(ctx *cli.Context) error

type Migrate

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

func NewMigrate

func NewMigrate(
	action *action.UpdateSqlcConfig,
) *Migrate

func (*Migrate) Invoke

func (c *Migrate) Invoke(ctx *cli.Context) error

type Rollback

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

func NewRollback

func NewRollback(
	action *action.UpdateSqlcConfig,
) *Rollback

func (*Rollback) Invoke

func (c *Rollback) Invoke(ctx *cli.Context) error

type UpdateSQLCConfig

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

func NewUpdateSQLCConfig

func NewUpdateSQLCConfig(action *action.UpdateSqlcConfig) *UpdateSQLCConfig

func (*UpdateSQLCConfig) Invoke

func (c *UpdateSQLCConfig) Invoke(ctx *cli.Context) error

Jump to

Keyboard shortcuts

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