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

Method Pretty

postgres/parser/pgdate/fields.go:67–69  ·  view source on GitHub ↗

Pretty wraps the generated String() function to return only the name: "Year" vs "fieldYear".

()

Source from the content-addressed store, hash-verified

65// Pretty wraps the generated String() function to return only the
66// name: "Year" vs "fieldYear".
67func (f field) Pretty() string {
68 return f.String()[5:]
69}
70
71// A fieldSet is an immutable aggregate of fields.
72// The zero value is an empty set.

Callers 5

ResetMethod · 0.45
SetMethod · 0.45
StringMethod · 0.45
StringMethod · 0.45
badFieldPrefixErrorFunction · 0.45

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected