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

Function newFieldSet

postgres/parser/pgdate/fields.go:76–82  ·  view source on GitHub ↗

newFieldSet constructs a fieldSet from zero or more fields.

(fields ...field)

Source from the content-addressed store, hash-verified

74
75// newFieldSet constructs a fieldSet from zero or more fields.
76func newFieldSet(fields ...field) fieldSet {
77 var ret fieldSet
78 for _, f := range fields {
79 ret |= f.AsSet()
80 }
81 return ret
82}
83
84// Add returns a fieldSet containing the field.
85func (s fieldSet) Add(field field) fieldSet {

Callers 1

parsing.goFile · 0.85

Calls 1

AsSetMethod · 0.80

Tested by

no test coverage detected