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

Method Clear

postgres/parser/pgdate/fields.go:96–98  ·  view source on GitHub ↗

Clear removes the field from the set. It is not an error to clear a field which is not set.

(field field)

Source from the content-addressed store, hash-verified

94// Clear removes the field from the set. It is not an error to
95// clear a field which is not set.
96func (s fieldSet) Clear(field field) fieldSet {
97 return s.ClearAll(field.AsSet())
98}
99
100// ClearAll removes all fields from other in the set. It is not an
101// error to clear fields which are not set.

Callers 2

interpretNumberMethod · 0.45
SetMethod · 0.45

Calls 2

ClearAllMethod · 0.95
AsSetMethod · 0.80

Tested by

no test coverage detected