func UpdatedAtGt(updatedAt *time.Time) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "updated_at",
			Op:    comparison.Gt,
			Arg:   updatedAt,
		})
	}
}
UpdatedAtGt greater than operator on UpdatedAt field
package playerrepo
import (
	"time"
	"github.com/sf9v/nero/comparison"
	"github.com/sf9v/nero/test/integration/player"
)
func IDEq(id string) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "id",
			Op:    comparison.Eq,
			Arg:   id,
		})
	}
}
func IDNotEq(id string) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "id",
			Op:    comparison.NotEq,
			Arg:   id,
		})
	}
}
func IDIn(ids ...string) comparison.PredFunc {
	args := []interface{}{}
	for _, v := range ids {
		args = append(args, v)
	}
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "id",
			Op:    comparison.In,
			Arg:   args,
		})
	}
}
func IDNotIn(ids ...string) comparison.PredFunc {
	args := []interface{}{}
	for _, v := range ids {
		args = append(args, v)
	}
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "id",
			Op:    comparison.NotIn,
			Arg:   args,
		})
	}
}
func EmailEq(email string) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "email",
			Op:    comparison.Eq,
			Arg:   email,
		})
	}
}
func EmailNotEq(email string) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "email",
			Op:    comparison.NotEq,
			Arg:   email,
		})
	}
}
func EmailIn(emails ...string) comparison.PredFunc {
	args := []interface{}{}
	for _, v := range emails {
		args = append(args, v)
	}
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "email",
			Op:    comparison.In,
			Arg:   args,
		})
	}
}
func EmailNotIn(emails ...string) comparison.PredFunc {
	args := []interface{}{}
	for _, v := range emails {
		args = append(args, v)
	}
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "email",
			Op:    comparison.NotIn,
			Arg:   args,
		})
	}
}
func NameEq(name string) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "name",
			Op:    comparison.Eq,
			Arg:   name,
		})
	}
}
func NameNotEq(name string) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "name",
			Op:    comparison.NotEq,
			Arg:   name,
		})
	}
}
func NameIn(names ...string) comparison.PredFunc {
	args := []interface{}{}
	for _, v := range names {
		args = append(args, v)
	}
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "name",
			Op:    comparison.In,
			Arg:   args,
		})
	}
}
func NameNotIn(names ...string) comparison.PredFunc {
	args := []interface{}{}
	for _, v := range names {
		args = append(args, v)
	}
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "name",
			Op:    comparison.NotIn,
			Arg:   args,
		})
	}
}
func AgeEq(age int) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "age",
			Op:    comparison.Eq,
			Arg:   age,
		})
	}
}
func AgeNotEq(age int) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "age",
			Op:    comparison.NotEq,
			Arg:   age,
		})
	}
}
func AgeGt(age int) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "age",
			Op:    comparison.Gt,
			Arg:   age,
		})
	}
}
func AgeGtOrEq(age int) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "age",
			Op:    comparison.GtOrEq,
			Arg:   age,
		})
	}
}
func AgeLt(age int) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "age",
			Op:    comparison.Lt,
			Arg:   age,
		})
	}
}
func AgeLtOrEq(age int) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "age",
			Op:    comparison.LtOrEq,
			Arg:   age,
		})
	}
}
func AgeIn(ages ...int) comparison.PredFunc {
	args := []interface{}{}
	for _, v := range ages {
		args = append(args, v)
	}
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "age",
			Op:    comparison.In,
			Arg:   args,
		})
	}
}
func AgeNotIn(ages ...int) comparison.PredFunc {
	args := []interface{}{}
	for _, v := range ages {
		args = append(args, v)
	}
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "age",
			Op:    comparison.NotIn,
			Arg:   args,
		})
	}
}
func RaceEq(race player.Race) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "race",
			Op:    comparison.Eq,
			Arg:   race,
		})
	}
}
func RaceNotEq(race player.Race) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "race",
			Op:    comparison.NotEq,
			Arg:   race,
		})
	}
}
func RaceIn(races ...player.Race) comparison.PredFunc {
	args := []interface{}{}
	for _, v := range races {
		args = append(args, v)
	}
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "race",
			Op:    comparison.In,
			Arg:   args,
		})
	}
}
func RaceNotIn(races ...player.Race) comparison.PredFunc {
	args := []interface{}{}
	for _, v := range races {
		args = append(args, v)
	}
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "race",
			Op:    comparison.NotIn,
			Arg:   args,
		})
	}
}
func UpdatedAtEq(updatedAt *time.Time) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "updated_at",
			Op:    comparison.Eq,
			Arg:   updatedAt,
		})
	}
}
func UpdatedAtNotEq(updatedAt *time.Time) comparison.PredFunc {
	return func(preds []*comparison.Predicate) []*comparison.Predicate {
		return append(preds, &comparison.Predicate{
			Field: "updated_at",
			Op:    comparison.NotEq,
			Arg:   updatedAt,
		})
	}
}