statements

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateView

type CreateView struct {
	Schema   string
	Name     string
	Columns  []ViewColumn
	Subquery string
	Comment  string
	Replace  bool
}

func (*CreateView) Execute

func (s *CreateView) Execute(ctx context.Context, tx *sql.Tx) error

Execute creates or replaces View

type DropView

type DropView struct {
	Schema string
	Name   string
}

func (*DropView) Execute

func (s *DropView) Execute(tx *sql.Tx) error

type ViewColumn

type ViewColumn struct {
	Name    string
	Comment string
}

Jump to

Keyboard shortcuts

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