update

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

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

Item represents an update item

func (*Item) IsExpr added in v0.7.1

func (v *Item) IsExpr() bool

func (*Item) Value added in v0.7.1

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

type Statement

type Statement struct {
	Target  Target
	Set     []*Item
	Qualify *expr.Qualify
}

Statement represetns an update statment

type Target

type Target struct {
	X        node.Node
	Comments string
}

Target represents a target

Jump to

Keyboard shortcuts

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