MCPcopy
hub / github.com/cube2222/octosql / String

Method String

parser/sqlparser/ast.go:3987–3989  ·  view source on GitHub ↗

String returns the unescaped column name. It must not be used for SQL generation. Use sqlparser.String instead. The Stringer conformance is for usage in templates.

()

Source from the content-addressed store, hash-verified

3985// instead. The Stringer conformance is for usage
3986// in templates.
3987func (node ColIdent) String() string {
3988 return node.val
3989}
3990
3991// CompliantName returns a compliant id name
3992// that can be used for a bind var.

Callers 15

TestColIdentFunction · 0.95
ParseSelectFunction · 0.45
ParseWithFunction · 0.45
ParseTableValuedFunctionFunction · 0.45
ParseAggregateFunction · 0.45
ParseAliasedExpressionFunction · 0.45
ParseExpressionFunction · 0.45
isAggregateExpressionFunction · 0.45
ParseMethod · 0.45
TestGetTableNameFunction · 0.45

Calls

no outgoing calls

Tested by 6

TestColIdentFunction · 0.76
TestGetTableNameFunction · 0.36
TestAppendFunction · 0.36
TestSelectFunction · 0.36
TestRemoveHintsFunction · 0.36
TestWhereFunction · 0.36