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

Method Format

pkg/sql/sem/tree/select.go:1026–1031  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

1024
1025// Format implements the NodeFormatter interface.
1026func (s LockingStrength) Format(ctx *FmtCtx) {
1027 if s != ForNone {
1028 ctx.WriteString(" ")
1029 ctx.WriteString(s.String())
1030 }
1031}
1032
1033// Max returns the maximum of the two locking strengths.
1034func (s LockingStrength) Max(s2 LockingStrength) LockingStrength {

Callers

nothing calls this directly

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected