sqlgen

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SqlGen

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

func NewSqlGen

func NewSqlGen(table string, dg *datagen.DataGen) *SqlGen

func (*SqlGen) DeleteByPkStatement

func (sqlg *SqlGen) DeleteByPkStatement(n int) string

func (*SqlGen) InsertStatement

func (sqlg *SqlGen) InsertStatement(n int) string

func (*SqlGen) SelectByPkStatement

func (sqlg *SqlGen) SelectByPkStatement(n int) string

func (*SqlGen) SelectByUkStatement

func (sqlg *SqlGen) SelectByUkStatement(n int) string

func (*SqlGen) UpdatePayloadByPkStatement

func (sqlg *SqlGen) UpdatePayloadByPkStatement(n int) string

Jump to

Keyboard shortcuts

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