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.
Click to show internal directories.
Click to hide internal directories.