wcdir

package
v0.0.0-...-f860bb7 Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WildcardsInfo

type WildcardsInfo struct {
	// contains filtered or unexported fields
}

WildcardsInfo contain wildcard information in a statement.

func ExtractWildcardsInfo

func ExtractWildcardsInfo(stmt *infos.StmtInfo) *WildcardsInfo

ExtractWildcardsInfo extracts wildcard information from a statement or nil if not exists.

func (*WildcardsInfo) Valid

func (info *WildcardsInfo) Valid() bool

Valid return true if info != nil.

func (*WildcardsInfo) WildcardColumn

func (info *WildcardsInfo) WildcardColumn(i int) *infos.ColumnInfo

WildcardColumn returns the table column for the i-th result column if it is from a <wc> directive and nil otherwise.

func (*WildcardsInfo) WildcardName

func (info *WildcardsInfo) WildcardName(i int) string

WildcardName returns the wildcard name (table name or alias) for the i-th result column if it is from a <wc> directive or "" otherwise.

Jump to

Keyboard shortcuts

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