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

Method clone

dialect/sql/builder.go:1665–1671  ·  view source on GitHub ↗

clone a joiner.

()

Source from the content-addressed store, hash-verified

1663
1664// clone a joiner.
1665func (j join) clone() join {
1666 if sel, ok := j.table.(*Selector); ok {
1667 j.table = sel.Clone()
1668 }
1669 j.on = j.on.clone()
1670 return j
1671}
1672
1673// Selector is a builder for the `SELECT` statement.
1674type Selector struct {

Callers 5

QueryErrMethod · 0.45
QueryMethod · 0.45
CloneMethod · 0.45
QueryMethod · 0.45
QueryMethod · 0.45

Calls 1

CloneMethod · 0.45

Tested by

no test coverage detected