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

Struct DTuple

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

DTuple is the tuple Datum.

Source from the content-addressed store, hash-verified

2876
2877// DTuple is the tuple Datum.
2878type DTuple struct {
2879 D Datums
2880
2881 // sorted indicates that the values in D are pre-sorted.
2882 // This is used to accelerate IN comparisons.
2883 sorted bool
2884
2885 // typ is the tuple's type.
2886 //
2887 // The Types sub-field can be initially uninitialized, and is then
2888 // populated upon first invocation of ResolvedTypes(). If
2889 // initialized it must have the same arity as D.
2890 //
2891 // The Labels sub-field can be left nil. If populated, it must have
2892 // the same arity as D.
2893 typ *types.T
2894}
2895
2896// NewDTuple creates a *DTuple with the provided datums. When creating a new
2897// DTuple with Datums that are known to be sorted in ascending order, chain

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected