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

Method Nested

dialect/sql/builder.go:3282–3284  ·  view source on GitHub ↗

Nested gets a callback, and wraps its result with parentheses. Deprecated: Use Builder.Wrap instead.

(f func(*Builder))

Source from the content-addressed store, hash-verified

3280//
3281// Deprecated: Use Builder.Wrap instead.
3282func (b *Builder) Nested(f func(*Builder)) *Builder {
3283 return b.Wrap(f)
3284}
3285
3286// SetDialect sets the builder dialect. It's used for garnering dialect specific queries.
3287func (b *Builder) SetDialect(dialect string) {

Callers

nothing calls this directly

Calls 1

WrapMethod · 0.95

Tested by

no test coverage detected