table

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Table

type Table struct {
	DBName  string
	Name    string
	Alias   string
	RawName string
	// contains filtered or unexported fields
}

func NewTable

func NewTable(name string, rawNames ...string) *Table

func (*Table) GetArgs

func (t *Table) GetArgs() []interface{}

func (*Table) GetName

func (t *Table) GetName() string

func (*Table) GetQuery

func (t *Table) GetQuery() string

func (*Table) IsMuti

func (t *Table) IsMuti() bool

func (*Table) Join

func (t *Table) Join(table mx.Container, typ mx.JoinType, condition mx.ConditionMix) mx.Container

func (*Table) SetAlias

func (t *Table) SetAlias(a string) *Table

func (*Table) SetDBName

func (t *Table) SetDBName(n string) *Table

func (*Table) SetSuffix

func (t *Table) SetSuffix(f func(interface{}) string) *Table

func (*Table) Suffix

func (t *Table) Suffix(s interface{})

func (*Table) With

func (t *Table) With(w mx.With)

Jump to

Keyboard shortcuts

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