TelemetryName returns a name that is friendly for telemetry.
()
| 1742 | |
| 1743 | // TelemetryName returns a name that is friendly for telemetry. |
| 1744 | func (t *T) TelemetryName() string { |
| 1745 | return strings.ToLower(telemetryNameReplaceRegex.ReplaceAllString(t.SQLString(), "_")) |
| 1746 | } |
| 1747 | |
| 1748 | // SQLStandardNameWithTypmod is like SQLStandardName but it also accepts a |
| 1749 | // typmod argument, and a boolean which indicates whether or not a typmod was |