update_mapper

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeywordUpdate = "UPDATE"
	KeywordSet    = "SET"
)
View Source
const (
	PlaceholderString  = "?"
	PlaceholderNumeric = "?"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateMapper

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

func NewUpdateMapper

func NewUpdateMapper(table string) *UpdateMapper

func (*UpdateMapper) UpdateByExample

func (s *UpdateMapper) UpdateByExample(example example.Example, value interface{}) error

Jump to

Keyboard shortcuts

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