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

Method Intersect

dialect/sql/builder.go:2203–2209  ·  view source on GitHub ↗

Intersect appends the INTERSECT clause to the query.

(t TableView)

Source from the content-addressed store, hash-verified

2201
2202// Intersect appends the INTERSECT clause to the query.
2203func (s *Selector) Intersect(t TableView) *Selector {
2204 s.setOps = append(s.setOps, setOp{
2205 Type: setOpTypeIntersect,
2206 TableView: t,
2207 })
2208 return s
2209}
2210
2211// IntersectAll appends the INTERSECT ALL clause to the query.
2212func (s *Selector) IntersectAll(t TableView) *Selector {

Callers 1

TestSelector_IntersectFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestSelector_IntersectFunction · 0.64