// Or groups predicates with the OR operator between them.
Or groups predicates with the OR operator between them.
// Or groups predicates with the OR operator between them .
func Or(predicates ...predicate.Grant) predicate.Grant {
	return predicate.Grant(func(s *sql.Selector) {
		s1 := s.Clone().SetP(nil)
		for i, p := range predicates {
			if i > 0 {
				s1.Or()
			}
			p(s1)
		}
		s.Where(s1.P())
	})
}
func Or ( predicates ... predicate . Grant ) predicate . Grant { return predicate . Grant ( func ( s * sql . Selector ) { s1 := s . Clone ( ) . SetP ( nil ) for i , p := range predicates { if i > 0 { s1 . Or ( ) } p ( s1 ) } s . Where ( s1 . P ( ) ) } ) }
Or groups predicates with the OR operator between them.
Or groups predicates with the OR operator between them .