sqlutil

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	Name    string
	Type    string
	Options string
}

func (Column) String

func (c Column) String() string

type Columns

type Columns []Column

func (Columns) Columns

func (c Columns) Columns() []string

func (Columns) Names

func (c Columns) Names() []string

type Index

type Index struct {
	Unique  bool
	Table   string
	Columns []string
}

func (Index) String

func (i Index) String() string

type Table

type Table struct {
	Name    string
	Options string
	Columns Columns
}

func (Table) String

func (t Table) String() string

Jump to

Keyboard shortcuts

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