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

Method doc

pkg/sql/sem/tree/pretty.go:1455–1465  ·  view source on GitHub ↗
(p *PrettyCfg)

Source from the content-addressed store, hash-verified

1453}
1454
1455func (node *ShardedIndexDef) doc(p *PrettyCfg) pretty.Doc {
1456 // Final layout:
1457 //
1458 // USING HASH WITH BUCKET_COUNT = bucket_count
1459 //
1460 parts := []pretty.Doc{
1461 pretty.Keyword("USING HASH WITH BUCKET_COUNT = "),
1462 p.Doc(node.ShardBuckets),
1463 }
1464 return pretty.Fold(pretty.ConcatSpace, parts...)
1465}
1466
1467func (node *InterleaveDef) doc(p *PrettyCfg) pretty.Doc {
1468 // Final layout:

Callers

nothing calls this directly

Calls 3

KeywordFunction · 0.92
FoldFunction · 0.92
DocMethod · 0.80

Tested by

no test coverage detected