MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / Locale

Method Locale

pkg/sql/types/types.go:897–899  ·  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

895// types in the CollatedStringFamily, and is the empty string for all other
896// types.
897func (t *T) Locale() string {
898 return *t.InternalType.Locale
899}
900
901// Width is the size or scale of the type, such as number of bits or characters.
902//

Callers 9

EquivalentMethod · 0.95
StringMethod · 0.95
IsAmbiguousMethod · 0.95
collatedStringTypeSQLMethod · 0.95
ParseMethod · 0.80
docMethod · 0.80
NewDefaultDatumFunction · 0.80
FormatMethod · 0.80
PerformCastFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected