MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / AliasedExpression

Struct AliasedExpression

pkg/sql/ast/ast.go:1136–1139  ·  view source on GitHub ↗

AliasedExpression represents an expression with an alias (expr AS alias)

Source from the content-addressed store, hash-verified

1134
1135// AliasedExpression represents an expression with an alias (expr AS alias)
1136type AliasedExpression struct {
1137 Expr Expression
1138 Alias string
1139}
1140
1141func (a *AliasedExpression) expressionNode() {}
1142func (a AliasedExpression) TokenLiteral() string { return a.Alias }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected