serializer

package
v0.0.0-...-1b09624 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SqlBehaviourInsert = iota
	SqlBehaviourUpdate
	SqlBehaviourDelete
	SqlBehaviourUpsert
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MysqlSeries

type MysqlSeries interface {
	Encode() (*SqlFmt, error)
}

type SqlBehaviour

type SqlBehaviour struct {
	Type          int
	Database      string
	Table         string
	PrimaryKeyVal map[string]interface{}
	Data          map[string]interface{}
}

func (*SqlBehaviour) Encode

func (sql *SqlBehaviour) Encode() (*SqlFmt, error)

type SqlFmt

type SqlFmt struct {
	//PrepareSql string
	//Values     []interface{}
	PrepareSql []interface{}
}

Jump to

Keyboard shortcuts

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