(name string, desc bool)
| 43 | } |
| 44 | |
| 45 | func (d *dialect) OrderByAliasExpression(name string, desc bool) string { |
| 46 | res := d.EscapeAlias(name) |
| 47 | if desc { |
| 48 | res += " DESC" |
| 49 | } |
| 50 | res += " NULLS LAST" |
| 51 | return res |
| 52 | } |
| 53 | |
| 54 | func (d *dialect) DimensionSelect(escapeTable string, dim *runtimev1.MetricsViewSpec_Dimension) (dimSelect, unnestClause string, err error) { |
| 55 | colName := d.EscapeIdentifier(dim.Name) |
nothing calls this directly
no test coverage detected