MCPcopy Index your code
hub / github.com/ent/ent / IdentComma

Method IdentComma

dialect/sql/builder.go:3001–3009  ·  view source on GitHub ↗

IdentComma calls Ident on all arguments and adds a comma between them.

(s ...string)

Source from the content-addressed store, hash-verified

2999
3000// IdentComma calls Ident on all arguments and adds a comma between them.
3001func (b *Builder) IdentComma(s ...string) *Builder {
3002 for i := range s {
3003 if i > 0 {
3004 b.Comma()
3005 }
3006 b.Ident(s[i])
3007 }
3008 return b
3009}
3010
3011// String returns the accumulated string.
3012func (b *Builder) String() string {

Callers 10

CountMethod · 0.95
QueryErrMethod · 0.80
writeConflictMethod · 0.80
compositePMethod · 0.80
DistinctFunction · 0.80
QueryMethod · 0.80
joinLockMethod · 0.80
joinReturningFunction · 0.80
QueryMethod · 0.80
PartitionByMethod · 0.80

Calls 2

CommaMethod · 0.95
IdentMethod · 0.95

Tested by

no test coverage detected