TelemetryName returns a name that is friendly for telemetry.
()
| 1416 | |
| 1417 | // TelemetryName returns a name that is friendly for telemetry. |
| 1418 | func (t *T) TelemetryName() string { |
| 1419 | return strings.ToLower(telemetryNameReplaceRegex.ReplaceAllString(t.SQLString(), "_")) |
| 1420 | } |
| 1421 | |
| 1422 | // SQLStandardNameWithTypmod is like SQLStandardName but it also accepts a |
| 1423 | // typmod argument, and a boolean which indicates whether or not a typmod was |