MCPcopy
hub / github.com/ent/ent / Wrapper

Struct Wrapper

dialect/sql/builder.go:2853–2856  ·  view source on GitHub ↗

Wrapper wraps a given Querier with different format. Used to prefix/suffix other queries.

Source from the content-addressed store, hash-verified

2851// Wrapper wraps a given Querier with different format.
2852// Used to prefix/suffix other queries.
2853type Wrapper struct {
2854 format string
2855 wrapped Querier
2856}
2857
2858// Query returns query representation of a wrapped Querier.
2859func (w *Wrapper) Query() (string, []any) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected