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

Method FromSelect

dialect/sql/builder.go:1996–1999  ·  view source on GitHub ↗

FromSelect copies the predicate from a selector.

(s2 *Selector)

Source from the content-addressed store, hash-verified

1994
1995// FromSelect copies the predicate from a selector.
1996func (s *Selector) FromSelect(s2 *Selector) *Selector {
1997 s.where = s2.where
1998 return s
1999}
2000
2001// Not sets the next coming predicate with not.
2002func (s *Selector) Not() *Selector {

Callers 5

TestBuilderFunction · 0.45
HasNeighborsWithFunction · 0.45
DeleteNodesFunction · 0.45
nodeMethod · 0.45
nodesMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestBuilderFunction · 0.36