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

Function JoinGroupAligned

postgres/parser/pretty/util.go:114–116  ·  view source on GitHub ↗

JoinGroupAligned nests joined d with divider under head.

(head, divider string, d ...Doc)

Source from the content-addressed store, hash-verified

112
113// JoinGroupAligned nests joined d with divider under head.
114func JoinGroupAligned(head, divider string, d ...Doc) Doc {
115 return AlignUnder(Text(head), Join(divider, d...))
116}
117
118// NestUnder nests nested under head.
119func NestUnder(head, nested Doc) Doc {

Callers

nothing calls this directly

Calls 3

AlignUnderFunction · 0.85
JoinFunction · 0.85
TextFunction · 0.70

Tested by

no test coverage detected