CollectPredicates indicates the appended predicated should be collected and not appended to the `WHERE` clause.
()
| 1937 | // CollectPredicates indicates the appended predicated should be collected |
| 1938 | // and not appended to the `WHERE` clause. |
| 1939 | func (s *Selector) CollectPredicates() *Selector { |
| 1940 | s.collected = append(s.collected, []*Predicate{}) |
| 1941 | return s |
| 1942 | } |
| 1943 | |
| 1944 | // CollectedPredicates returns the collected predicates. |
| 1945 | func (s *Selector) CollectedPredicates() []*Predicate { |
no outgoing calls
no test coverage detected