MCPcopy Create free account
hub / github.com/dolthub/doltgresql / TelemetryName

Method TelemetryName

postgres/parser/types/types.go:1418–1420  ·  view source on GitHub ↗

TelemetryName returns a name that is friendly for telemetry.

()

Source from the content-addressed store, hash-verified

1416
1417// TelemetryName returns a name that is friendly for telemetry.
1418func (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

Callers

nothing calls this directly

Calls 1

SQLStringMethod · 0.95

Tested by

no test coverage detected