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

Struct DTuple

postgres/parser/sem/tree/datum.go:1441–1457  ·  view source on GitHub ↗

DTuple is the tuple Datum.

Source from the content-addressed store, hash-verified

1439
1440// DTuple is the tuple Datum.
1441type DTuple struct {
1442 D Datums
1443
1444 // sorted indicates that the values in D are pre-sorted.
1445 // This is used to accelerate IN comparisons.
1446 sorted bool
1447
1448 // typ is the tuple's type.
1449 //
1450 // The Types sub-field can be initially uninitialized, and is then
1451 // populated upon first invocation of ResolvedTypes(). If
1452 // initialized it must have the same arity as D.
1453 //
1454 // The Labels sub-field can be left nil. If populated, it must have
1455 // the same arity as D.
1456 typ *types.T
1457}
1458
1459// maybePopulateType populates the tuple's type if it hasn't yet been
1460// populated.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected