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

Method Locale

postgres/parser/types/types.go:1118–1120  ·  view source on GitHub ↗

Locale identifies a specific geographical, political, or cultural region that impacts various character-based operations such as sorting, pattern matching, and builtin functions like lower and upper. It is only defined for the types in the CollatedStringFamily, and is the empty string for all other

()

Source from the content-addressed store, hash-verified

1116// types in the CollatedStringFamily, and is the empty string for all other
1117// types.
1118func (t *T) Locale() string {
1119 return *t.InternalType.Locale
1120}
1121
1122// Width is the size or scale of the type, such as number of bits or characters.
1123//

Callers 6

EquivalentMethod · 0.95
StringMethod · 0.95
IsAmbiguousMethod · 0.95
collatedStringTypeSQLMethod · 0.95
docMethod · 0.80
FormatMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected