table

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MTLocal = iota
	Distribute
	MvLocal
	MvInner
	MvDistribute
	MvNow
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	Name    string
	Type    string
	Comment string
}

type TableMeta

type TableMeta struct {
	QueryKey   string
	Columns    []Column
	DB         string
	Table      string
	CreateTime string
	UpdateTime string
	Indexes    string
	M          map[string]int
	Category   string
	WithTime   bool
}

func (*TableMeta) CreateTable

func (meta *TableMeta) CreateTable(category int, distribute bool) string

Jump to

Keyboard shortcuts

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