GenerateIdentifier generates a unique table identifier for use in the AST.
()
| 663 | |
| 664 | // GenerateIdentifier generates a unique table identifier for use in the AST. |
| 665 | func (a *AST) GenerateIdentifier() string { |
| 666 | tmp := fmt.Sprintf("t%d", a.nextIdentifier) |
| 667 | a.nextIdentifier++ |
| 668 | return tmp |
| 669 | } |
| 670 | |
| 671 | // WrapSelect rewrites the given node with a wrapping SELECT that includes the same dimensions and measures as the original node. |
| 672 | // The innerAlias is used as the alias of the inner SELECT in the new outer SELECT. |
no outgoing calls
no test coverage detected