MCPcopy
hub / github.com/ent/ent / String

Method String

dialect/sql/builder.go:3012–3017  ·  view source on GitHub ↗

String returns the accumulated string.

()

Source from the content-addressed store, hash-verified

3010
3011// String returns the accumulated string.
3012func (b *Builder) String() string {
3013 if b.sb == nil {
3014 return ""
3015 }
3016 return b.sb.String()
3017}
3018
3019// WriteByte wraps the Buffer.WriteByte to make it chainable with other methods.
3020func (b *Builder) WriteByte(c byte) *Builder {

Callers 15

TestPrinter_PrintFunction · 0.95
escapeFunction · 0.95
AsFunction · 0.95
DistinctFunction · 0.95
CMethod · 0.95
refMethod · 0.95
CMethod · 0.95
CountMethod · 0.95
AscFunction · 0.95
DescFunction · 0.95
CMethod · 0.95
QueryMethod · 0.95

Calls 1

StringMethod · 0.45

Tested by 1

TestPrinter_PrintFunction · 0.76