MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / DCollatedString

Struct DCollatedString

pkg/sql/sem/tree/datum.go:1321–1326  ·  view source on GitHub ↗

DCollatedString is the Datum for strings with a locale. The struct members are intended to be immutable.

Source from the content-addressed store, hash-verified

1319// DCollatedString is the Datum for strings with a locale. The struct members
1320// are intended to be immutable.
1321type DCollatedString struct {
1322 Contents string
1323 Locale string
1324 // Key is the collation key.
1325 Key []byte
1326}
1327
1328// CollationEnvironment stores the state needed by NewDCollatedString to
1329// construct collation keys efficiently.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected