insert

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Statement

type Statement struct {
	Target               Target
	Alias                string
	Columns              []string
	Values               []*Value
	OnDuplicateKeyUpdate []*update.Item
}

Statement represents an insert stmt

type Target

type Target struct {
	X        node.Node
	Comments string
}

type Value

type Value struct {
	Expr     node.Node
	Comments string
	Raw      string
	node.Span
	Meta interface{}
}

func (*Value) IsPlaceholder added in v0.7.1

func (v *Value) IsPlaceholder() bool

func (*Value) Value added in v0.7.1

func (v *Value) Value() (*expr.Value, error)

Jump to

Keyboard shortcuts

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