FromSelect copies the predicate from a selector.
(s2 *Selector)
| 1994 | |
| 1995 | // FromSelect copies the predicate from a selector. |
| 1996 | func (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. |
| 2002 | func (s *Selector) Not() *Selector { |
no outgoing calls