// Code generated by ent, DO NOT EDIT. package sev import ( "api/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 int) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id int) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id int) predicate.Sev { return predicate.Sev(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...int) predicate.Sev { return predicate.Sev(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...int) predicate.Sev { return predicate.Sev(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id int) predicate.Sev { return predicate.Sev(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id int) predicate.Sev { return predicate.Sev(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id int) predicate.Sev { return predicate.Sev(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id int) predicate.Sev { return predicate.Sev(sql.FieldLTE(FieldID, id)) } // Password applies equality check predicate on the "password" field. It's identical to PasswordEQ. func Password(v string) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldPassword, v)) } // Token applies equality check predicate on the "token" field. It's identical to TokenEQ. func Token(v string) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldToken, v)) } // Limit applies equality check predicate on the "limit" field. It's identical to LimitEQ. func Limit(v bool) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldLimit, v)) } // Count applies equality check predicate on the "count" field. It's identical to CountEQ. func Count(v int) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldCount, v)) } // Handle applies equality check predicate on the "handle" field. It's identical to HandleEQ. func Handle(v string) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldHandle, v)) } // Did applies equality check predicate on the "did" field. It's identical to DidEQ. func Did(v string) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldDid, v)) } // UID applies equality check predicate on the "uid" field. It's identical to UIDEQ. func UID(v int) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldUID, v)) } // Cid applies equality check predicate on the "cid" field. It's identical to CidEQ. func Cid(v int) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldCid, v)) } // Cp applies equality check predicate on the "cp" field. It's identical to CpEQ. func Cp(v int) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldCp, v)) } // Card applies equality check predicate on the "card" field. It's identical to CardEQ. func Card(v int) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldCard, v)) } // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ. func UpdatedAt(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldUpdatedAt, v)) } // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ. func CreatedAt(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldCreatedAt, v)) } // PasswordEQ applies the EQ predicate on the "password" field. func PasswordEQ(v string) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldPassword, v)) } // PasswordNEQ applies the NEQ predicate on the "password" field. func PasswordNEQ(v string) predicate.Sev { return predicate.Sev(sql.FieldNEQ(FieldPassword, v)) } // PasswordIn applies the In predicate on the "password" field. func PasswordIn(vs ...string) predicate.Sev { return predicate.Sev(sql.FieldIn(FieldPassword, vs...)) } // PasswordNotIn applies the NotIn predicate on the "password" field. func PasswordNotIn(vs ...string) predicate.Sev { return predicate.Sev(sql.FieldNotIn(FieldPassword, vs...)) } // PasswordGT applies the GT predicate on the "password" field. func PasswordGT(v string) predicate.Sev { return predicate.Sev(sql.FieldGT(FieldPassword, v)) } // PasswordGTE applies the GTE predicate on the "password" field. func PasswordGTE(v string) predicate.Sev { return predicate.Sev(sql.FieldGTE(FieldPassword, v)) } // PasswordLT applies the LT predicate on the "password" field. func PasswordLT(v string) predicate.Sev { return predicate.Sev(sql.FieldLT(FieldPassword, v)) } // PasswordLTE applies the LTE predicate on the "password" field. func PasswordLTE(v string) predicate.Sev { return predicate.Sev(sql.FieldLTE(FieldPassword, v)) } // PasswordContains applies the Contains predicate on the "password" field. func PasswordContains(v string) predicate.Sev { return predicate.Sev(sql.FieldContains(FieldPassword, v)) } // PasswordHasPrefix applies the HasPrefix predicate on the "password" field. func PasswordHasPrefix(v string) predicate.Sev { return predicate.Sev(sql.FieldHasPrefix(FieldPassword, v)) } // PasswordHasSuffix applies the HasSuffix predicate on the "password" field. func PasswordHasSuffix(v string) predicate.Sev { return predicate.Sev(sql.FieldHasSuffix(FieldPassword, v)) } // PasswordEqualFold applies the EqualFold predicate on the "password" field. func PasswordEqualFold(v string) predicate.Sev { return predicate.Sev(sql.FieldEqualFold(FieldPassword, v)) } // PasswordContainsFold applies the ContainsFold predicate on the "password" field. func PasswordContainsFold(v string) predicate.Sev { return predicate.Sev(sql.FieldContainsFold(FieldPassword, v)) } // TokenEQ applies the EQ predicate on the "token" field. func TokenEQ(v string) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldToken, v)) } // TokenNEQ applies the NEQ predicate on the "token" field. func TokenNEQ(v string) predicate.Sev { return predicate.Sev(sql.FieldNEQ(FieldToken, v)) } // TokenIn applies the In predicate on the "token" field. func TokenIn(vs ...string) predicate.Sev { return predicate.Sev(sql.FieldIn(FieldToken, vs...)) } // TokenNotIn applies the NotIn predicate on the "token" field. func TokenNotIn(vs ...string) predicate.Sev { return predicate.Sev(sql.FieldNotIn(FieldToken, vs...)) } // TokenGT applies the GT predicate on the "token" field. func TokenGT(v string) predicate.Sev { return predicate.Sev(sql.FieldGT(FieldToken, v)) } // TokenGTE applies the GTE predicate on the "token" field. func TokenGTE(v string) predicate.Sev { return predicate.Sev(sql.FieldGTE(FieldToken, v)) } // TokenLT applies the LT predicate on the "token" field. func TokenLT(v string) predicate.Sev { return predicate.Sev(sql.FieldLT(FieldToken, v)) } // TokenLTE applies the LTE predicate on the "token" field. func TokenLTE(v string) predicate.Sev { return predicate.Sev(sql.FieldLTE(FieldToken, v)) } // TokenContains applies the Contains predicate on the "token" field. func TokenContains(v string) predicate.Sev { return predicate.Sev(sql.FieldContains(FieldToken, v)) } // TokenHasPrefix applies the HasPrefix predicate on the "token" field. func TokenHasPrefix(v string) predicate.Sev { return predicate.Sev(sql.FieldHasPrefix(FieldToken, v)) } // TokenHasSuffix applies the HasSuffix predicate on the "token" field. func TokenHasSuffix(v string) predicate.Sev { return predicate.Sev(sql.FieldHasSuffix(FieldToken, v)) } // TokenIsNil applies the IsNil predicate on the "token" field. func TokenIsNil() predicate.Sev { return predicate.Sev(sql.FieldIsNull(FieldToken)) } // TokenNotNil applies the NotNil predicate on the "token" field. func TokenNotNil() predicate.Sev { return predicate.Sev(sql.FieldNotNull(FieldToken)) } // TokenEqualFold applies the EqualFold predicate on the "token" field. func TokenEqualFold(v string) predicate.Sev { return predicate.Sev(sql.FieldEqualFold(FieldToken, v)) } // TokenContainsFold applies the ContainsFold predicate on the "token" field. func TokenContainsFold(v string) predicate.Sev { return predicate.Sev(sql.FieldContainsFold(FieldToken, v)) } // LimitEQ applies the EQ predicate on the "limit" field. func LimitEQ(v bool) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldLimit, v)) } // LimitNEQ applies the NEQ predicate on the "limit" field. func LimitNEQ(v bool) predicate.Sev { return predicate.Sev(sql.FieldNEQ(FieldLimit, v)) } // LimitIsNil applies the IsNil predicate on the "limit" field. func LimitIsNil() predicate.Sev { return predicate.Sev(sql.FieldIsNull(FieldLimit)) } // LimitNotNil applies the NotNil predicate on the "limit" field. func LimitNotNil() predicate.Sev { return predicate.Sev(sql.FieldNotNull(FieldLimit)) } // CountEQ applies the EQ predicate on the "count" field. func CountEQ(v int) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldCount, v)) } // CountNEQ applies the NEQ predicate on the "count" field. func CountNEQ(v int) predicate.Sev { return predicate.Sev(sql.FieldNEQ(FieldCount, v)) } // CountIn applies the In predicate on the "count" field. func CountIn(vs ...int) predicate.Sev { return predicate.Sev(sql.FieldIn(FieldCount, vs...)) } // CountNotIn applies the NotIn predicate on the "count" field. func CountNotIn(vs ...int) predicate.Sev { return predicate.Sev(sql.FieldNotIn(FieldCount, vs...)) } // CountGT applies the GT predicate on the "count" field. func CountGT(v int) predicate.Sev { return predicate.Sev(sql.FieldGT(FieldCount, v)) } // CountGTE applies the GTE predicate on the "count" field. func CountGTE(v int) predicate.Sev { return predicate.Sev(sql.FieldGTE(FieldCount, v)) } // CountLT applies the LT predicate on the "count" field. func CountLT(v int) predicate.Sev { return predicate.Sev(sql.FieldLT(FieldCount, v)) } // CountLTE applies the LTE predicate on the "count" field. func CountLTE(v int) predicate.Sev { return predicate.Sev(sql.FieldLTE(FieldCount, v)) } // CountIsNil applies the IsNil predicate on the "count" field. func CountIsNil() predicate.Sev { return predicate.Sev(sql.FieldIsNull(FieldCount)) } // CountNotNil applies the NotNil predicate on the "count" field. func CountNotNil() predicate.Sev { return predicate.Sev(sql.FieldNotNull(FieldCount)) } // HandleEQ applies the EQ predicate on the "handle" field. func HandleEQ(v string) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldHandle, v)) } // HandleNEQ applies the NEQ predicate on the "handle" field. func HandleNEQ(v string) predicate.Sev { return predicate.Sev(sql.FieldNEQ(FieldHandle, v)) } // HandleIn applies the In predicate on the "handle" field. func HandleIn(vs ...string) predicate.Sev { return predicate.Sev(sql.FieldIn(FieldHandle, vs...)) } // HandleNotIn applies the NotIn predicate on the "handle" field. func HandleNotIn(vs ...string) predicate.Sev { return predicate.Sev(sql.FieldNotIn(FieldHandle, vs...)) } // HandleGT applies the GT predicate on the "handle" field. func HandleGT(v string) predicate.Sev { return predicate.Sev(sql.FieldGT(FieldHandle, v)) } // HandleGTE applies the GTE predicate on the "handle" field. func HandleGTE(v string) predicate.Sev { return predicate.Sev(sql.FieldGTE(FieldHandle, v)) } // HandleLT applies the LT predicate on the "handle" field. func HandleLT(v string) predicate.Sev { return predicate.Sev(sql.FieldLT(FieldHandle, v)) } // HandleLTE applies the LTE predicate on the "handle" field. func HandleLTE(v string) predicate.Sev { return predicate.Sev(sql.FieldLTE(FieldHandle, v)) } // HandleContains applies the Contains predicate on the "handle" field. func HandleContains(v string) predicate.Sev { return predicate.Sev(sql.FieldContains(FieldHandle, v)) } // HandleHasPrefix applies the HasPrefix predicate on the "handle" field. func HandleHasPrefix(v string) predicate.Sev { return predicate.Sev(sql.FieldHasPrefix(FieldHandle, v)) } // HandleHasSuffix applies the HasSuffix predicate on the "handle" field. func HandleHasSuffix(v string) predicate.Sev { return predicate.Sev(sql.FieldHasSuffix(FieldHandle, v)) } // HandleIsNil applies the IsNil predicate on the "handle" field. func HandleIsNil() predicate.Sev { return predicate.Sev(sql.FieldIsNull(FieldHandle)) } // HandleNotNil applies the NotNil predicate on the "handle" field. func HandleNotNil() predicate.Sev { return predicate.Sev(sql.FieldNotNull(FieldHandle)) } // HandleEqualFold applies the EqualFold predicate on the "handle" field. func HandleEqualFold(v string) predicate.Sev { return predicate.Sev(sql.FieldEqualFold(FieldHandle, v)) } // HandleContainsFold applies the ContainsFold predicate on the "handle" field. func HandleContainsFold(v string) predicate.Sev { return predicate.Sev(sql.FieldContainsFold(FieldHandle, v)) } // DidEQ applies the EQ predicate on the "did" field. func DidEQ(v string) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldDid, v)) } // DidNEQ applies the NEQ predicate on the "did" field. func DidNEQ(v string) predicate.Sev { return predicate.Sev(sql.FieldNEQ(FieldDid, v)) } // DidIn applies the In predicate on the "did" field. func DidIn(vs ...string) predicate.Sev { return predicate.Sev(sql.FieldIn(FieldDid, vs...)) } // DidNotIn applies the NotIn predicate on the "did" field. func DidNotIn(vs ...string) predicate.Sev { return predicate.Sev(sql.FieldNotIn(FieldDid, vs...)) } // DidGT applies the GT predicate on the "did" field. func DidGT(v string) predicate.Sev { return predicate.Sev(sql.FieldGT(FieldDid, v)) } // DidGTE applies the GTE predicate on the "did" field. func DidGTE(v string) predicate.Sev { return predicate.Sev(sql.FieldGTE(FieldDid, v)) } // DidLT applies the LT predicate on the "did" field. func DidLT(v string) predicate.Sev { return predicate.Sev(sql.FieldLT(FieldDid, v)) } // DidLTE applies the LTE predicate on the "did" field. func DidLTE(v string) predicate.Sev { return predicate.Sev(sql.FieldLTE(FieldDid, v)) } // DidContains applies the Contains predicate on the "did" field. func DidContains(v string) predicate.Sev { return predicate.Sev(sql.FieldContains(FieldDid, v)) } // DidHasPrefix applies the HasPrefix predicate on the "did" field. func DidHasPrefix(v string) predicate.Sev { return predicate.Sev(sql.FieldHasPrefix(FieldDid, v)) } // DidHasSuffix applies the HasSuffix predicate on the "did" field. func DidHasSuffix(v string) predicate.Sev { return predicate.Sev(sql.FieldHasSuffix(FieldDid, v)) } // DidIsNil applies the IsNil predicate on the "did" field. func DidIsNil() predicate.Sev { return predicate.Sev(sql.FieldIsNull(FieldDid)) } // DidNotNil applies the NotNil predicate on the "did" field. func DidNotNil() predicate.Sev { return predicate.Sev(sql.FieldNotNull(FieldDid)) } // DidEqualFold applies the EqualFold predicate on the "did" field. func DidEqualFold(v string) predicate.Sev { return predicate.Sev(sql.FieldEqualFold(FieldDid, v)) } // DidContainsFold applies the ContainsFold predicate on the "did" field. func DidContainsFold(v string) predicate.Sev { return predicate.Sev(sql.FieldContainsFold(FieldDid, v)) } // UIDEQ applies the EQ predicate on the "uid" field. func UIDEQ(v int) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldUID, v)) } // UIDNEQ applies the NEQ predicate on the "uid" field. func UIDNEQ(v int) predicate.Sev { return predicate.Sev(sql.FieldNEQ(FieldUID, v)) } // UIDIn applies the In predicate on the "uid" field. func UIDIn(vs ...int) predicate.Sev { return predicate.Sev(sql.FieldIn(FieldUID, vs...)) } // UIDNotIn applies the NotIn predicate on the "uid" field. func UIDNotIn(vs ...int) predicate.Sev { return predicate.Sev(sql.FieldNotIn(FieldUID, vs...)) } // UIDGT applies the GT predicate on the "uid" field. func UIDGT(v int) predicate.Sev { return predicate.Sev(sql.FieldGT(FieldUID, v)) } // UIDGTE applies the GTE predicate on the "uid" field. func UIDGTE(v int) predicate.Sev { return predicate.Sev(sql.FieldGTE(FieldUID, v)) } // UIDLT applies the LT predicate on the "uid" field. func UIDLT(v int) predicate.Sev { return predicate.Sev(sql.FieldLT(FieldUID, v)) } // UIDLTE applies the LTE predicate on the "uid" field. func UIDLTE(v int) predicate.Sev { return predicate.Sev(sql.FieldLTE(FieldUID, v)) } // UIDIsNil applies the IsNil predicate on the "uid" field. func UIDIsNil() predicate.Sev { return predicate.Sev(sql.FieldIsNull(FieldUID)) } // UIDNotNil applies the NotNil predicate on the "uid" field. func UIDNotNil() predicate.Sev { return predicate.Sev(sql.FieldNotNull(FieldUID)) } // CidEQ applies the EQ predicate on the "cid" field. func CidEQ(v int) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldCid, v)) } // CidNEQ applies the NEQ predicate on the "cid" field. func CidNEQ(v int) predicate.Sev { return predicate.Sev(sql.FieldNEQ(FieldCid, v)) } // CidIn applies the In predicate on the "cid" field. func CidIn(vs ...int) predicate.Sev { return predicate.Sev(sql.FieldIn(FieldCid, vs...)) } // CidNotIn applies the NotIn predicate on the "cid" field. func CidNotIn(vs ...int) predicate.Sev { return predicate.Sev(sql.FieldNotIn(FieldCid, vs...)) } // CidGT applies the GT predicate on the "cid" field. func CidGT(v int) predicate.Sev { return predicate.Sev(sql.FieldGT(FieldCid, v)) } // CidGTE applies the GTE predicate on the "cid" field. func CidGTE(v int) predicate.Sev { return predicate.Sev(sql.FieldGTE(FieldCid, v)) } // CidLT applies the LT predicate on the "cid" field. func CidLT(v int) predicate.Sev { return predicate.Sev(sql.FieldLT(FieldCid, v)) } // CidLTE applies the LTE predicate on the "cid" field. func CidLTE(v int) predicate.Sev { return predicate.Sev(sql.FieldLTE(FieldCid, v)) } // CidIsNil applies the IsNil predicate on the "cid" field. func CidIsNil() predicate.Sev { return predicate.Sev(sql.FieldIsNull(FieldCid)) } // CidNotNil applies the NotNil predicate on the "cid" field. func CidNotNil() predicate.Sev { return predicate.Sev(sql.FieldNotNull(FieldCid)) } // CpEQ applies the EQ predicate on the "cp" field. func CpEQ(v int) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldCp, v)) } // CpNEQ applies the NEQ predicate on the "cp" field. func CpNEQ(v int) predicate.Sev { return predicate.Sev(sql.FieldNEQ(FieldCp, v)) } // CpIn applies the In predicate on the "cp" field. func CpIn(vs ...int) predicate.Sev { return predicate.Sev(sql.FieldIn(FieldCp, vs...)) } // CpNotIn applies the NotIn predicate on the "cp" field. func CpNotIn(vs ...int) predicate.Sev { return predicate.Sev(sql.FieldNotIn(FieldCp, vs...)) } // CpGT applies the GT predicate on the "cp" field. func CpGT(v int) predicate.Sev { return predicate.Sev(sql.FieldGT(FieldCp, v)) } // CpGTE applies the GTE predicate on the "cp" field. func CpGTE(v int) predicate.Sev { return predicate.Sev(sql.FieldGTE(FieldCp, v)) } // CpLT applies the LT predicate on the "cp" field. func CpLT(v int) predicate.Sev { return predicate.Sev(sql.FieldLT(FieldCp, v)) } // CpLTE applies the LTE predicate on the "cp" field. func CpLTE(v int) predicate.Sev { return predicate.Sev(sql.FieldLTE(FieldCp, v)) } // CpIsNil applies the IsNil predicate on the "cp" field. func CpIsNil() predicate.Sev { return predicate.Sev(sql.FieldIsNull(FieldCp)) } // CpNotNil applies the NotNil predicate on the "cp" field. func CpNotNil() predicate.Sev { return predicate.Sev(sql.FieldNotNull(FieldCp)) } // CardEQ applies the EQ predicate on the "card" field. func CardEQ(v int) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldCard, v)) } // CardNEQ applies the NEQ predicate on the "card" field. func CardNEQ(v int) predicate.Sev { return predicate.Sev(sql.FieldNEQ(FieldCard, v)) } // CardIn applies the In predicate on the "card" field. func CardIn(vs ...int) predicate.Sev { return predicate.Sev(sql.FieldIn(FieldCard, vs...)) } // CardNotIn applies the NotIn predicate on the "card" field. func CardNotIn(vs ...int) predicate.Sev { return predicate.Sev(sql.FieldNotIn(FieldCard, vs...)) } // CardGT applies the GT predicate on the "card" field. func CardGT(v int) predicate.Sev { return predicate.Sev(sql.FieldGT(FieldCard, v)) } // CardGTE applies the GTE predicate on the "card" field. func CardGTE(v int) predicate.Sev { return predicate.Sev(sql.FieldGTE(FieldCard, v)) } // CardLT applies the LT predicate on the "card" field. func CardLT(v int) predicate.Sev { return predicate.Sev(sql.FieldLT(FieldCard, v)) } // CardLTE applies the LTE predicate on the "card" field. func CardLTE(v int) predicate.Sev { return predicate.Sev(sql.FieldLTE(FieldCard, v)) } // CardIsNil applies the IsNil predicate on the "card" field. func CardIsNil() predicate.Sev { return predicate.Sev(sql.FieldIsNull(FieldCard)) } // CardNotNil applies the NotNil predicate on the "card" field. func CardNotNil() predicate.Sev { return predicate.Sev(sql.FieldNotNull(FieldCard)) } // UpdatedAtEQ applies the EQ predicate on the "updated_at" field. func UpdatedAtEQ(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldUpdatedAt, v)) } // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field. func UpdatedAtNEQ(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldNEQ(FieldUpdatedAt, v)) } // UpdatedAtIn applies the In predicate on the "updated_at" field. func UpdatedAtIn(vs ...time.Time) predicate.Sev { return predicate.Sev(sql.FieldIn(FieldUpdatedAt, vs...)) } // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field. func UpdatedAtNotIn(vs ...time.Time) predicate.Sev { return predicate.Sev(sql.FieldNotIn(FieldUpdatedAt, vs...)) } // UpdatedAtGT applies the GT predicate on the "updated_at" field. func UpdatedAtGT(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldGT(FieldUpdatedAt, v)) } // UpdatedAtGTE applies the GTE predicate on the "updated_at" field. func UpdatedAtGTE(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldGTE(FieldUpdatedAt, v)) } // UpdatedAtLT applies the LT predicate on the "updated_at" field. func UpdatedAtLT(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldLT(FieldUpdatedAt, v)) } // UpdatedAtLTE applies the LTE predicate on the "updated_at" field. func UpdatedAtLTE(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldLTE(FieldUpdatedAt, v)) } // UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field. func UpdatedAtIsNil() predicate.Sev { return predicate.Sev(sql.FieldIsNull(FieldUpdatedAt)) } // UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field. func UpdatedAtNotNil() predicate.Sev { return predicate.Sev(sql.FieldNotNull(FieldUpdatedAt)) } // CreatedAtEQ applies the EQ predicate on the "created_at" field. func CreatedAtEQ(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldEQ(FieldCreatedAt, v)) } // CreatedAtNEQ applies the NEQ predicate on the "created_at" field. func CreatedAtNEQ(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldNEQ(FieldCreatedAt, v)) } // CreatedAtIn applies the In predicate on the "created_at" field. func CreatedAtIn(vs ...time.Time) predicate.Sev { return predicate.Sev(sql.FieldIn(FieldCreatedAt, vs...)) } // CreatedAtNotIn applies the NotIn predicate on the "created_at" field. func CreatedAtNotIn(vs ...time.Time) predicate.Sev { return predicate.Sev(sql.FieldNotIn(FieldCreatedAt, vs...)) } // CreatedAtGT applies the GT predicate on the "created_at" field. func CreatedAtGT(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldGT(FieldCreatedAt, v)) } // CreatedAtGTE applies the GTE predicate on the "created_at" field. func CreatedAtGTE(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldGTE(FieldCreatedAt, v)) } // CreatedAtLT applies the LT predicate on the "created_at" field. func CreatedAtLT(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldLT(FieldCreatedAt, v)) } // CreatedAtLTE applies the LTE predicate on the "created_at" field. func CreatedAtLTE(v time.Time) predicate.Sev { return predicate.Sev(sql.FieldLTE(FieldCreatedAt, v)) } // CreatedAtIsNil applies the IsNil predicate on the "created_at" field. func CreatedAtIsNil() predicate.Sev { return predicate.Sev(sql.FieldIsNull(FieldCreatedAt)) } // CreatedAtNotNil applies the NotNil predicate on the "created_at" field. func CreatedAtNotNil() predicate.Sev { return predicate.Sev(sql.FieldNotNull(FieldCreatedAt)) } // HasOwner applies the HasEdge predicate on the "owner" edge. func HasOwner() predicate.Sev { return predicate.Sev(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.M2O, true, OwnerTable, OwnerColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates). func HasOwnerWith(preds ...predicate.User) predicate.Sev { return predicate.Sev(func(s *sql.Selector) { step := newOwnerStep() 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.Sev) predicate.Sev { return predicate.Sev(func(s *sql.Selector) { s1 := s.Clone().SetP(nil) for _, p := range predicates { p(s1) } s.Where(s1.P()) }) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.Sev) predicate.Sev { return predicate.Sev(func(s *sql.Selector) { s1 := s.Clone().SetP(nil) for i, p := range predicates { if i > 0 { s1.Or() } p(s1) } s.Where(s1.P()) }) } // Not applies the not operator on the given predicate. func Not(p predicate.Sev) predicate.Sev { return predicate.Sev(func(s *sql.Selector) { p(s.Not()) }) }