// IDIn applies the In predicate on the ID field.
IDIn applies the In predicate on the ID field.
// IDIn applies the In predicate on the ID field .
func IDIn(ids ...string) predicate.APIAudit {
	return predicate.APIAudit(func(s *sql.Selector) {
		if len(ids) == 0 {
			s.Where(sql.False())
			return
		}
		v := make([]interface{}, len(ids))
		for i := range v {
			v[i] = ids[i]
		}
		s.Where(sql.In(s.C(FieldID), v...))
	})
}
func IDIn ( ids ... string ) predicate . APIAudit { return predicate . APIAudit ( func ( s * sql . Selector ) { if len ( ids ) == 0 { s . Where ( sql . False ( ) ) return } v := make ( [ ] interface { } , len ( ids ) ) for i := range v { v [ i ] = ids [ i ] } s . Where ( sql . In ( s . C ( FieldID ) , v ... ) ) } ) }
IDIn applies the In predicate on the ID field.
IDIn applies the In predicate on the ID field .
// if not arguments were provided, append the FALSE constants, // since we can't apply "IN ()". This will make this predicate falsy.