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

Method Has

postgres/parser/pgdate/fields.go:107–109  ·  view source on GitHub ↗

Has returns true if the given field is present in the set.

(field field)

Source from the content-addressed store, hash-verified

105
106// Has returns true if the given field is present in the set.
107func (s fieldSet) Has(field field) bool {
108 return s&field.AsSet() != 0
109}
110
111// HasAll returns true if the field set contains all of the
112// other fields.

Callers 15

StringMethod · 0.95
GetMethod · 0.45
ResetMethod · 0.45
SetMethod · 0.45
WantsMethod · 0.45
HasSequenceMethod · 0.45
CreateSequenceMethod · 0.45
DropSequenceMethod · 0.45
resolveNameMethod · 0.45
HasCastMethod · 0.45
DropCastMethod · 0.45
CreateTypeMethod · 0.45

Calls 1

AsSetMethod · 0.80

Tested by

no test coverage detected