// And groups predicates with the AND operator between them.
And groups predicates with the AND operator between them.
// And groups predicates with the AND operator between them .
func And(predicates ...predicate.Scope) predicate.Scope {
	return predicate.Scope(func(s *sql.Selector) {
		s1 := s.Clone().SetP(nil)
		for _, p := range predicates {
			p(s1)
		}
		s.Where(s1.P())
	})
}
func And ( predicates ... predicate . Scope ) predicate . Scope { return predicate . Scope ( func ( s * sql . Selector ) { s1 := s . Clone ( ) . SetP ( nil ) for _ , p := range predicates { p ( s1 ) } s . Where ( s1 . P ( ) ) } ) }
And groups predicates with the AND operator between them.
And groups predicates with the AND operator between them .