// Code generated by ent, DO NOT EDIT. package authsession import ( "time" "entgo.io/ent/dialect/sql" "github.com/dexidp/dex/storage/ent/db/predicate" ) // ID filters vertices based on their ID field. func ID(id string) predicate.AuthSession { return predicate.AuthSession(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id string) predicate.AuthSession { return predicate.AuthSession(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id string) predicate.AuthSession { return predicate.AuthSession(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...string) predicate.AuthSession { return predicate.AuthSession(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...string) predicate.AuthSession { return predicate.AuthSession(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id string) predicate.AuthSession { return predicate.AuthSession(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id string) predicate.AuthSession { return predicate.AuthSession(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id string) predicate.AuthSession { return predicate.AuthSession(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id string) predicate.AuthSession { return predicate.AuthSession(sql.FieldLTE(FieldID, id)) } // IDEqualFold applies the EqualFold predicate on the ID field. func IDEqualFold(id string) predicate.AuthSession { return predicate.AuthSession(sql.FieldEqualFold(FieldID, id)) } // IDContainsFold applies the ContainsFold predicate on the ID field. func IDContainsFold(id string) predicate.AuthSession { return predicate.AuthSession(sql.FieldContainsFold(FieldID, id)) } // ClientStates applies equality check predicate on the "client_states" field. It's identical to ClientStatesEQ. func ClientStates(v []byte) predicate.AuthSession { return predicate.AuthSession(sql.FieldEQ(FieldClientStates, v)) } // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ. func CreatedAt(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldEQ(FieldCreatedAt, v)) } // LastActivity applies equality check predicate on the "last_activity" field. It's identical to LastActivityEQ. func LastActivity(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldEQ(FieldLastActivity, v)) } // IPAddress applies equality check predicate on the "ip_address" field. It's identical to IPAddressEQ. func IPAddress(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldEQ(FieldIPAddress, v)) } // UserAgent applies equality check predicate on the "user_agent" field. It's identical to UserAgentEQ. func UserAgent(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldEQ(FieldUserAgent, v)) } // ClientStatesEQ applies the EQ predicate on the "client_states" field. func ClientStatesEQ(v []byte) predicate.AuthSession { return predicate.AuthSession(sql.FieldEQ(FieldClientStates, v)) } // ClientStatesNEQ applies the NEQ predicate on the "client_states" field. func ClientStatesNEQ(v []byte) predicate.AuthSession { return predicate.AuthSession(sql.FieldNEQ(FieldClientStates, v)) } // ClientStatesIn applies the In predicate on the "client_states" field. func ClientStatesIn(vs ...[]byte) predicate.AuthSession { return predicate.AuthSession(sql.FieldIn(FieldClientStates, vs...)) } // ClientStatesNotIn applies the NotIn predicate on the "client_states" field. func ClientStatesNotIn(vs ...[]byte) predicate.AuthSession { return predicate.AuthSession(sql.FieldNotIn(FieldClientStates, vs...)) } // ClientStatesGT applies the GT predicate on the "client_states" field. func ClientStatesGT(v []byte) predicate.AuthSession { return predicate.AuthSession(sql.FieldGT(FieldClientStates, v)) } // ClientStatesGTE applies the GTE predicate on the "client_states" field. func ClientStatesGTE(v []byte) predicate.AuthSession { return predicate.AuthSession(sql.FieldGTE(FieldClientStates, v)) } // ClientStatesLT applies the LT predicate on the "client_states" field. func ClientStatesLT(v []byte) predicate.AuthSession { return predicate.AuthSession(sql.FieldLT(FieldClientStates, v)) } // ClientStatesLTE applies the LTE predicate on the "client_states" field. func ClientStatesLTE(v []byte) predicate.AuthSession { return predicate.AuthSession(sql.FieldLTE(FieldClientStates, v)) } // CreatedAtEQ applies the EQ predicate on the "created_at" field. func CreatedAtEQ(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldEQ(FieldCreatedAt, v)) } // CreatedAtNEQ applies the NEQ predicate on the "created_at" field. func CreatedAtNEQ(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldNEQ(FieldCreatedAt, v)) } // CreatedAtIn applies the In predicate on the "created_at" field. func CreatedAtIn(vs ...time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldIn(FieldCreatedAt, vs...)) } // CreatedAtNotIn applies the NotIn predicate on the "created_at" field. func CreatedAtNotIn(vs ...time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldNotIn(FieldCreatedAt, vs...)) } // CreatedAtGT applies the GT predicate on the "created_at" field. func CreatedAtGT(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldGT(FieldCreatedAt, v)) } // CreatedAtGTE applies the GTE predicate on the "created_at" field. func CreatedAtGTE(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldGTE(FieldCreatedAt, v)) } // CreatedAtLT applies the LT predicate on the "created_at" field. func CreatedAtLT(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldLT(FieldCreatedAt, v)) } // CreatedAtLTE applies the LTE predicate on the "created_at" field. func CreatedAtLTE(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldLTE(FieldCreatedAt, v)) } // LastActivityEQ applies the EQ predicate on the "last_activity" field. func LastActivityEQ(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldEQ(FieldLastActivity, v)) } // LastActivityNEQ applies the NEQ predicate on the "last_activity" field. func LastActivityNEQ(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldNEQ(FieldLastActivity, v)) } // LastActivityIn applies the In predicate on the "last_activity" field. func LastActivityIn(vs ...time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldIn(FieldLastActivity, vs...)) } // LastActivityNotIn applies the NotIn predicate on the "last_activity" field. func LastActivityNotIn(vs ...time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldNotIn(FieldLastActivity, vs...)) } // LastActivityGT applies the GT predicate on the "last_activity" field. func LastActivityGT(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldGT(FieldLastActivity, v)) } // LastActivityGTE applies the GTE predicate on the "last_activity" field. func LastActivityGTE(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldGTE(FieldLastActivity, v)) } // LastActivityLT applies the LT predicate on the "last_activity" field. func LastActivityLT(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldLT(FieldLastActivity, v)) } // LastActivityLTE applies the LTE predicate on the "last_activity" field. func LastActivityLTE(v time.Time) predicate.AuthSession { return predicate.AuthSession(sql.FieldLTE(FieldLastActivity, v)) } // IPAddressEQ applies the EQ predicate on the "ip_address" field. func IPAddressEQ(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldEQ(FieldIPAddress, v)) } // IPAddressNEQ applies the NEQ predicate on the "ip_address" field. func IPAddressNEQ(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldNEQ(FieldIPAddress, v)) } // IPAddressIn applies the In predicate on the "ip_address" field. func IPAddressIn(vs ...string) predicate.AuthSession { return predicate.AuthSession(sql.FieldIn(FieldIPAddress, vs...)) } // IPAddressNotIn applies the NotIn predicate on the "ip_address" field. func IPAddressNotIn(vs ...string) predicate.AuthSession { return predicate.AuthSession(sql.FieldNotIn(FieldIPAddress, vs...)) } // IPAddressGT applies the GT predicate on the "ip_address" field. func IPAddressGT(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldGT(FieldIPAddress, v)) } // IPAddressGTE applies the GTE predicate on the "ip_address" field. func IPAddressGTE(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldGTE(FieldIPAddress, v)) } // IPAddressLT applies the LT predicate on the "ip_address" field. func IPAddressLT(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldLT(FieldIPAddress, v)) } // IPAddressLTE applies the LTE predicate on the "ip_address" field. func IPAddressLTE(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldLTE(FieldIPAddress, v)) } // IPAddressContains applies the Contains predicate on the "ip_address" field. func IPAddressContains(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldContains(FieldIPAddress, v)) } // IPAddressHasPrefix applies the HasPrefix predicate on the "ip_address" field. func IPAddressHasPrefix(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldHasPrefix(FieldIPAddress, v)) } // IPAddressHasSuffix applies the HasSuffix predicate on the "ip_address" field. func IPAddressHasSuffix(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldHasSuffix(FieldIPAddress, v)) } // IPAddressEqualFold applies the EqualFold predicate on the "ip_address" field. func IPAddressEqualFold(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldEqualFold(FieldIPAddress, v)) } // IPAddressContainsFold applies the ContainsFold predicate on the "ip_address" field. func IPAddressContainsFold(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldContainsFold(FieldIPAddress, v)) } // UserAgentEQ applies the EQ predicate on the "user_agent" field. func UserAgentEQ(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldEQ(FieldUserAgent, v)) } // UserAgentNEQ applies the NEQ predicate on the "user_agent" field. func UserAgentNEQ(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldNEQ(FieldUserAgent, v)) } // UserAgentIn applies the In predicate on the "user_agent" field. func UserAgentIn(vs ...string) predicate.AuthSession { return predicate.AuthSession(sql.FieldIn(FieldUserAgent, vs...)) } // UserAgentNotIn applies the NotIn predicate on the "user_agent" field. func UserAgentNotIn(vs ...string) predicate.AuthSession { return predicate.AuthSession(sql.FieldNotIn(FieldUserAgent, vs...)) } // UserAgentGT applies the GT predicate on the "user_agent" field. func UserAgentGT(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldGT(FieldUserAgent, v)) } // UserAgentGTE applies the GTE predicate on the "user_agent" field. func UserAgentGTE(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldGTE(FieldUserAgent, v)) } // UserAgentLT applies the LT predicate on the "user_agent" field. func UserAgentLT(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldLT(FieldUserAgent, v)) } // UserAgentLTE applies the LTE predicate on the "user_agent" field. func UserAgentLTE(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldLTE(FieldUserAgent, v)) } // UserAgentContains applies the Contains predicate on the "user_agent" field. func UserAgentContains(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldContains(FieldUserAgent, v)) } // UserAgentHasPrefix applies the HasPrefix predicate on the "user_agent" field. func UserAgentHasPrefix(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldHasPrefix(FieldUserAgent, v)) } // UserAgentHasSuffix applies the HasSuffix predicate on the "user_agent" field. func UserAgentHasSuffix(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldHasSuffix(FieldUserAgent, v)) } // UserAgentEqualFold applies the EqualFold predicate on the "user_agent" field. func UserAgentEqualFold(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldEqualFold(FieldUserAgent, v)) } // UserAgentContainsFold applies the ContainsFold predicate on the "user_agent" field. func UserAgentContainsFold(v string) predicate.AuthSession { return predicate.AuthSession(sql.FieldContainsFold(FieldUserAgent, v)) } // And groups predicates with the AND operator between them. func And(predicates ...predicate.AuthSession) predicate.AuthSession { return predicate.AuthSession(sql.AndPredicates(predicates...)) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.AuthSession) predicate.AuthSession { return predicate.AuthSession(sql.OrPredicates(predicates...)) } // Not applies the not operator on the given predicate. func Not(p predicate.AuthSession) predicate.AuthSession { return predicate.AuthSession(sql.NotPredicates(p)) }