// Code generated by ent, DO NOT EDIT. package scaauthusersocial import ( "schisandra-album-cloud-microservices/common/ent/predicate" "time" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" ) // ID filters vertices based on their ID field. func ID(id int64) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id int64) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id int64) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...int64) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...int64) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id int64) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id int64) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id int64) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id int64) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldID, id)) } // UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ. func UserID(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldUserID, v)) } // OpenID applies equality check predicate on the "open_id" field. It's identical to OpenIDEQ. func OpenID(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldOpenID, v)) } // Source applies equality check predicate on the "source" field. It's identical to SourceEQ. func Source(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldSource, v)) } // Status applies equality check predicate on the "status" field. It's identical to StatusEQ. func Status(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldStatus, v)) } // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ. func CreatedAt(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldCreatedAt, v)) } // UpdateAt applies equality check predicate on the "update_at" field. It's identical to UpdateAtEQ. func UpdateAt(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldUpdateAt, v)) } // Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ. func Deleted(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldDeleted, v)) } // UserIDEQ applies the EQ predicate on the "user_id" field. func UserIDEQ(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldUserID, v)) } // UserIDNEQ applies the NEQ predicate on the "user_id" field. func UserIDNEQ(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldUserID, v)) } // UserIDIn applies the In predicate on the "user_id" field. func UserIDIn(vs ...string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldIn(FieldUserID, vs...)) } // UserIDNotIn applies the NotIn predicate on the "user_id" field. func UserIDNotIn(vs ...string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldUserID, vs...)) } // UserIDGT applies the GT predicate on the "user_id" field. func UserIDGT(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGT(FieldUserID, v)) } // UserIDGTE applies the GTE predicate on the "user_id" field. func UserIDGTE(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldUserID, v)) } // UserIDLT applies the LT predicate on the "user_id" field. func UserIDLT(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLT(FieldUserID, v)) } // UserIDLTE applies the LTE predicate on the "user_id" field. func UserIDLTE(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldUserID, v)) } // UserIDContains applies the Contains predicate on the "user_id" field. func UserIDContains(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldContains(FieldUserID, v)) } // UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field. func UserIDHasPrefix(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldHasPrefix(FieldUserID, v)) } // UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field. func UserIDHasSuffix(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldHasSuffix(FieldUserID, v)) } // UserIDEqualFold applies the EqualFold predicate on the "user_id" field. func UserIDEqualFold(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEqualFold(FieldUserID, v)) } // UserIDContainsFold applies the ContainsFold predicate on the "user_id" field. func UserIDContainsFold(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldContainsFold(FieldUserID, v)) } // OpenIDEQ applies the EQ predicate on the "open_id" field. func OpenIDEQ(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldOpenID, v)) } // OpenIDNEQ applies the NEQ predicate on the "open_id" field. func OpenIDNEQ(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldOpenID, v)) } // OpenIDIn applies the In predicate on the "open_id" field. func OpenIDIn(vs ...string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldIn(FieldOpenID, vs...)) } // OpenIDNotIn applies the NotIn predicate on the "open_id" field. func OpenIDNotIn(vs ...string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldOpenID, vs...)) } // OpenIDGT applies the GT predicate on the "open_id" field. func OpenIDGT(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGT(FieldOpenID, v)) } // OpenIDGTE applies the GTE predicate on the "open_id" field. func OpenIDGTE(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldOpenID, v)) } // OpenIDLT applies the LT predicate on the "open_id" field. func OpenIDLT(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLT(FieldOpenID, v)) } // OpenIDLTE applies the LTE predicate on the "open_id" field. func OpenIDLTE(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldOpenID, v)) } // OpenIDContains applies the Contains predicate on the "open_id" field. func OpenIDContains(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldContains(FieldOpenID, v)) } // OpenIDHasPrefix applies the HasPrefix predicate on the "open_id" field. func OpenIDHasPrefix(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldHasPrefix(FieldOpenID, v)) } // OpenIDHasSuffix applies the HasSuffix predicate on the "open_id" field. func OpenIDHasSuffix(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldHasSuffix(FieldOpenID, v)) } // OpenIDEqualFold applies the EqualFold predicate on the "open_id" field. func OpenIDEqualFold(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEqualFold(FieldOpenID, v)) } // OpenIDContainsFold applies the ContainsFold predicate on the "open_id" field. func OpenIDContainsFold(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldContainsFold(FieldOpenID, v)) } // SourceEQ applies the EQ predicate on the "source" field. func SourceEQ(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldSource, v)) } // SourceNEQ applies the NEQ predicate on the "source" field. func SourceNEQ(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldSource, v)) } // SourceIn applies the In predicate on the "source" field. func SourceIn(vs ...string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldIn(FieldSource, vs...)) } // SourceNotIn applies the NotIn predicate on the "source" field. func SourceNotIn(vs ...string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldSource, vs...)) } // SourceGT applies the GT predicate on the "source" field. func SourceGT(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGT(FieldSource, v)) } // SourceGTE applies the GTE predicate on the "source" field. func SourceGTE(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldSource, v)) } // SourceLT applies the LT predicate on the "source" field. func SourceLT(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLT(FieldSource, v)) } // SourceLTE applies the LTE predicate on the "source" field. func SourceLTE(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldSource, v)) } // SourceContains applies the Contains predicate on the "source" field. func SourceContains(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldContains(FieldSource, v)) } // SourceHasPrefix applies the HasPrefix predicate on the "source" field. func SourceHasPrefix(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldHasPrefix(FieldSource, v)) } // SourceHasSuffix applies the HasSuffix predicate on the "source" field. func SourceHasSuffix(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldHasSuffix(FieldSource, v)) } // SourceEqualFold applies the EqualFold predicate on the "source" field. func SourceEqualFold(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEqualFold(FieldSource, v)) } // SourceContainsFold applies the ContainsFold predicate on the "source" field. func SourceContainsFold(v string) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldContainsFold(FieldSource, v)) } // StatusEQ applies the EQ predicate on the "status" field. func StatusEQ(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldStatus, v)) } // StatusNEQ applies the NEQ predicate on the "status" field. func StatusNEQ(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldStatus, v)) } // StatusIn applies the In predicate on the "status" field. func StatusIn(vs ...int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldIn(FieldStatus, vs...)) } // StatusNotIn applies the NotIn predicate on the "status" field. func StatusNotIn(vs ...int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldStatus, vs...)) } // StatusGT applies the GT predicate on the "status" field. func StatusGT(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGT(FieldStatus, v)) } // StatusGTE applies the GTE predicate on the "status" field. func StatusGTE(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldStatus, v)) } // StatusLT applies the LT predicate on the "status" field. func StatusLT(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLT(FieldStatus, v)) } // StatusLTE applies the LTE predicate on the "status" field. func StatusLTE(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldStatus, v)) } // CreatedAtEQ applies the EQ predicate on the "created_at" field. func CreatedAtEQ(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldCreatedAt, v)) } // CreatedAtNEQ applies the NEQ predicate on the "created_at" field. func CreatedAtNEQ(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldCreatedAt, v)) } // CreatedAtIn applies the In predicate on the "created_at" field. func CreatedAtIn(vs ...time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldIn(FieldCreatedAt, vs...)) } // CreatedAtNotIn applies the NotIn predicate on the "created_at" field. func CreatedAtNotIn(vs ...time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldCreatedAt, vs...)) } // CreatedAtGT applies the GT predicate on the "created_at" field. func CreatedAtGT(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGT(FieldCreatedAt, v)) } // CreatedAtGTE applies the GTE predicate on the "created_at" field. func CreatedAtGTE(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldCreatedAt, v)) } // CreatedAtLT applies the LT predicate on the "created_at" field. func CreatedAtLT(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLT(FieldCreatedAt, v)) } // CreatedAtLTE applies the LTE predicate on the "created_at" field. func CreatedAtLTE(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldCreatedAt, v)) } // UpdateAtEQ applies the EQ predicate on the "update_at" field. func UpdateAtEQ(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldUpdateAt, v)) } // UpdateAtNEQ applies the NEQ predicate on the "update_at" field. func UpdateAtNEQ(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldUpdateAt, v)) } // UpdateAtIn applies the In predicate on the "update_at" field. func UpdateAtIn(vs ...time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldIn(FieldUpdateAt, vs...)) } // UpdateAtNotIn applies the NotIn predicate on the "update_at" field. func UpdateAtNotIn(vs ...time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldUpdateAt, vs...)) } // UpdateAtGT applies the GT predicate on the "update_at" field. func UpdateAtGT(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGT(FieldUpdateAt, v)) } // UpdateAtGTE applies the GTE predicate on the "update_at" field. func UpdateAtGTE(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldUpdateAt, v)) } // UpdateAtLT applies the LT predicate on the "update_at" field. func UpdateAtLT(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLT(FieldUpdateAt, v)) } // UpdateAtLTE applies the LTE predicate on the "update_at" field. func UpdateAtLTE(v time.Time) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldUpdateAt, v)) } // UpdateAtIsNil applies the IsNil predicate on the "update_at" field. func UpdateAtIsNil() predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldIsNull(FieldUpdateAt)) } // UpdateAtNotNil applies the NotNil predicate on the "update_at" field. func UpdateAtNotNil() predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNotNull(FieldUpdateAt)) } // DeletedEQ applies the EQ predicate on the "deleted" field. func DeletedEQ(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldDeleted, v)) } // DeletedNEQ applies the NEQ predicate on the "deleted" field. func DeletedNEQ(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldDeleted, v)) } // DeletedIn applies the In predicate on the "deleted" field. func DeletedIn(vs ...int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldIn(FieldDeleted, vs...)) } // DeletedNotIn applies the NotIn predicate on the "deleted" field. func DeletedNotIn(vs ...int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldDeleted, vs...)) } // DeletedGT applies the GT predicate on the "deleted" field. func DeletedGT(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGT(FieldDeleted, v)) } // DeletedGTE applies the GTE predicate on the "deleted" field. func DeletedGTE(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldDeleted, v)) } // DeletedLT applies the LT predicate on the "deleted" field. func DeletedLT(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLT(FieldDeleted, v)) } // DeletedLTE applies the LTE predicate on the "deleted" field. func DeletedLTE(v int) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldDeleted, v)) } // HasScaAuthUser applies the HasEdge predicate on the "sca_auth_user" edge. func HasScaAuthUser() predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.M2O, true, ScaAuthUserTable, ScaAuthUserColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasScaAuthUserWith applies the HasEdge predicate on the "sca_auth_user" edge with a given conditions (other predicates). func HasScaAuthUserWith(preds ...predicate.ScaAuthUser) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(func(s *sql.Selector) { step := newScaAuthUserStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // And groups predicates with the AND operator between them. func And(predicates ...predicate.ScaAuthUserSocial) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.AndPredicates(predicates...)) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.ScaAuthUserSocial) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.OrPredicates(predicates...)) } // Not applies the not operator on the given predicate. func Not(p predicate.ScaAuthUserSocial) predicate.ScaAuthUserSocial { return predicate.ScaAuthUserSocial(sql.NotPredicates(p)) }