// Code generated by ent, DO NOT EDIT. package user import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/examples/extensions/ent/predicate" ) // ID filters vertices based on their ID field. func ID(id int) predicate.User { return predicate.User(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id int) predicate.User { return predicate.User(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id int) predicate.User { return predicate.User(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...int) predicate.User { return predicate.User(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...int) predicate.User { return predicate.User(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id int) predicate.User { return predicate.User(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id int) predicate.User { return predicate.User(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id int) predicate.User { return predicate.User(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id int) predicate.User { return predicate.User(sql.FieldLTE(FieldID, id)) } // Location applies equality check predicate on the "location" field. It's identical to LocationEQ. func Location(v []byte) predicate.User { return predicate.User(sql.FieldEQ(FieldLocation, v)) } // LocationEQ applies the EQ predicate on the "location" field. func LocationEQ(v []byte) predicate.User { return predicate.User(sql.FieldEQ(FieldLocation, v)) } // LocationNEQ applies the NEQ predicate on the "location" field. func LocationNEQ(v []byte) predicate.User { return predicate.User(sql.FieldNEQ(FieldLocation, v)) } // LocationIn applies the In predicate on the "location" field. func LocationIn(vs ...[]byte) predicate.User { return predicate.User(sql.FieldIn(FieldLocation, vs...)) } // LocationNotIn applies the NotIn predicate on the "location" field. func LocationNotIn(vs ...[]byte) predicate.User { return predicate.User(sql.FieldNotIn(FieldLocation, vs...)) } // LocationGT applies the GT predicate on the "location" field. func LocationGT(v []byte) predicate.User { return predicate.User(sql.FieldGT(FieldLocation, v)) } // LocationGTE applies the GTE predicate on the "location" field. func LocationGTE(v []byte) predicate.User { return predicate.User(sql.FieldGTE(FieldLocation, v)) } // LocationLT applies the LT predicate on the "location" field. func LocationLT(v []byte) predicate.User { return predicate.User(sql.FieldLT(FieldLocation, v)) } // LocationLTE applies the LTE predicate on the "location" field. func LocationLTE(v []byte) predicate.User { return predicate.User(sql.FieldLTE(FieldLocation, v)) } // And groups predicates with the AND operator between them. func And(predicates ...predicate.User) predicate.User { return predicate.User(sql.AndPredicates(predicates...)) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.User) predicate.User { return predicate.User(sql.OrPredicates(predicates...)) } // Not applies the not operator on the given predicate. func Not(p predicate.User) predicate.User { return predicate.User(sql.NotPredicates(p)) }