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

Method HasFlags

pkg/sql/sem/tree/format.go:258–260  ·  view source on GitHub ↗

HasFlags returns true iff the given flags are set in the formatter context.

(f FmtFlags)

Source from the content-addressed store, hash-verified

256
257// HasFlags returns true iff the given flags are set in the formatter context.
258func (ctx *FmtCtx) HasFlags(f FmtFlags) bool {
259 return ctx.flags.HasFlags(f)
260}
261
262// Printf calls fmt.Fprintf on the linked bytes.Buffer. It is provided
263// for convenience, to avoid having to call fmt.Fprintf(&ctx.Buffer, ...).

Callers 15

FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected