123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646 |
- // Code generated by ent, DO NOT EDIT.
- package pushregistration
- import (
- "time"
- "w303a/server/app/gate/internal/data/ent/predicate"
- "entgo.io/ent/dialect/sql"
- "github.com/google/uuid"
- )
- // ID filters vertices based on their ID field.
- func ID(id uuid.UUID) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id uuid.UUID) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id uuid.UUID) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...uuid.UUID) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...uuid.UUID) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id uuid.UUID) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id uuid.UUID) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id uuid.UUID) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id uuid.UUID) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLTE(FieldID, id))
- }
- // RegID applies equality check predicate on the "reg_id" field. It's identical to RegIDEQ.
- func RegID(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldRegID, v))
- }
- // RegistrantPlatformType applies equality check predicate on the "registrant_platform_type" field. It's identical to RegistrantPlatformTypeEQ.
- func RegistrantPlatformType(v int8) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldRegistrantPlatformType, v))
- }
- // Language applies equality check predicate on the "language" field. It's identical to LanguageEQ.
- func Language(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldLanguage, v))
- }
- // DeviceModel applies equality check predicate on the "device_model" field. It's identical to DeviceModelEQ.
- func DeviceModel(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldDeviceModel, v))
- }
- // DeviceManufacturer applies equality check predicate on the "device_manufacturer" field. It's identical to DeviceManufacturerEQ.
- func DeviceManufacturer(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldDeviceManufacturer, v))
- }
- // DeviceSystemVersion applies equality check predicate on the "device_system_version" field. It's identical to DeviceSystemVersionEQ.
- func DeviceSystemVersion(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldDeviceSystemVersion, v))
- }
- // DeviceSystem applies equality check predicate on the "device_system" field. It's identical to DeviceSystemEQ.
- func DeviceSystem(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldDeviceSystem, v))
- }
- // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
- func CreatedAt(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldCreatedAt, v))
- }
- // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
- func UpdatedAt(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // RegIDEQ applies the EQ predicate on the "reg_id" field.
- func RegIDEQ(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldRegID, v))
- }
- // RegIDNEQ applies the NEQ predicate on the "reg_id" field.
- func RegIDNEQ(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNEQ(FieldRegID, v))
- }
- // RegIDIn applies the In predicate on the "reg_id" field.
- func RegIDIn(vs ...string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldIn(FieldRegID, vs...))
- }
- // RegIDNotIn applies the NotIn predicate on the "reg_id" field.
- func RegIDNotIn(vs ...string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNotIn(FieldRegID, vs...))
- }
- // RegIDGT applies the GT predicate on the "reg_id" field.
- func RegIDGT(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGT(FieldRegID, v))
- }
- // RegIDGTE applies the GTE predicate on the "reg_id" field.
- func RegIDGTE(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGTE(FieldRegID, v))
- }
- // RegIDLT applies the LT predicate on the "reg_id" field.
- func RegIDLT(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLT(FieldRegID, v))
- }
- // RegIDLTE applies the LTE predicate on the "reg_id" field.
- func RegIDLTE(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLTE(FieldRegID, v))
- }
- // RegIDContains applies the Contains predicate on the "reg_id" field.
- func RegIDContains(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldContains(FieldRegID, v))
- }
- // RegIDHasPrefix applies the HasPrefix predicate on the "reg_id" field.
- func RegIDHasPrefix(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldHasPrefix(FieldRegID, v))
- }
- // RegIDHasSuffix applies the HasSuffix predicate on the "reg_id" field.
- func RegIDHasSuffix(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldHasSuffix(FieldRegID, v))
- }
- // RegIDEqualFold applies the EqualFold predicate on the "reg_id" field.
- func RegIDEqualFold(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEqualFold(FieldRegID, v))
- }
- // RegIDContainsFold applies the ContainsFold predicate on the "reg_id" field.
- func RegIDContainsFold(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldContainsFold(FieldRegID, v))
- }
- // RegistrantPlatformTypeEQ applies the EQ predicate on the "registrant_platform_type" field.
- func RegistrantPlatformTypeEQ(v int8) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldRegistrantPlatformType, v))
- }
- // RegistrantPlatformTypeNEQ applies the NEQ predicate on the "registrant_platform_type" field.
- func RegistrantPlatformTypeNEQ(v int8) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNEQ(FieldRegistrantPlatformType, v))
- }
- // RegistrantPlatformTypeIn applies the In predicate on the "registrant_platform_type" field.
- func RegistrantPlatformTypeIn(vs ...int8) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldIn(FieldRegistrantPlatformType, vs...))
- }
- // RegistrantPlatformTypeNotIn applies the NotIn predicate on the "registrant_platform_type" field.
- func RegistrantPlatformTypeNotIn(vs ...int8) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNotIn(FieldRegistrantPlatformType, vs...))
- }
- // RegistrantPlatformTypeGT applies the GT predicate on the "registrant_platform_type" field.
- func RegistrantPlatformTypeGT(v int8) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGT(FieldRegistrantPlatformType, v))
- }
- // RegistrantPlatformTypeGTE applies the GTE predicate on the "registrant_platform_type" field.
- func RegistrantPlatformTypeGTE(v int8) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGTE(FieldRegistrantPlatformType, v))
- }
- // RegistrantPlatformTypeLT applies the LT predicate on the "registrant_platform_type" field.
- func RegistrantPlatformTypeLT(v int8) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLT(FieldRegistrantPlatformType, v))
- }
- // RegistrantPlatformTypeLTE applies the LTE predicate on the "registrant_platform_type" field.
- func RegistrantPlatformTypeLTE(v int8) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLTE(FieldRegistrantPlatformType, v))
- }
- // LanguageEQ applies the EQ predicate on the "language" field.
- func LanguageEQ(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldLanguage, v))
- }
- // LanguageNEQ applies the NEQ predicate on the "language" field.
- func LanguageNEQ(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNEQ(FieldLanguage, v))
- }
- // LanguageIn applies the In predicate on the "language" field.
- func LanguageIn(vs ...string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldIn(FieldLanguage, vs...))
- }
- // LanguageNotIn applies the NotIn predicate on the "language" field.
- func LanguageNotIn(vs ...string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNotIn(FieldLanguage, vs...))
- }
- // LanguageGT applies the GT predicate on the "language" field.
- func LanguageGT(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGT(FieldLanguage, v))
- }
- // LanguageGTE applies the GTE predicate on the "language" field.
- func LanguageGTE(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGTE(FieldLanguage, v))
- }
- // LanguageLT applies the LT predicate on the "language" field.
- func LanguageLT(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLT(FieldLanguage, v))
- }
- // LanguageLTE applies the LTE predicate on the "language" field.
- func LanguageLTE(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLTE(FieldLanguage, v))
- }
- // LanguageContains applies the Contains predicate on the "language" field.
- func LanguageContains(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldContains(FieldLanguage, v))
- }
- // LanguageHasPrefix applies the HasPrefix predicate on the "language" field.
- func LanguageHasPrefix(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldHasPrefix(FieldLanguage, v))
- }
- // LanguageHasSuffix applies the HasSuffix predicate on the "language" field.
- func LanguageHasSuffix(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldHasSuffix(FieldLanguage, v))
- }
- // LanguageEqualFold applies the EqualFold predicate on the "language" field.
- func LanguageEqualFold(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEqualFold(FieldLanguage, v))
- }
- // LanguageContainsFold applies the ContainsFold predicate on the "language" field.
- func LanguageContainsFold(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldContainsFold(FieldLanguage, v))
- }
- // DeviceModelEQ applies the EQ predicate on the "device_model" field.
- func DeviceModelEQ(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldDeviceModel, v))
- }
- // DeviceModelNEQ applies the NEQ predicate on the "device_model" field.
- func DeviceModelNEQ(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNEQ(FieldDeviceModel, v))
- }
- // DeviceModelIn applies the In predicate on the "device_model" field.
- func DeviceModelIn(vs ...string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldIn(FieldDeviceModel, vs...))
- }
- // DeviceModelNotIn applies the NotIn predicate on the "device_model" field.
- func DeviceModelNotIn(vs ...string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNotIn(FieldDeviceModel, vs...))
- }
- // DeviceModelGT applies the GT predicate on the "device_model" field.
- func DeviceModelGT(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGT(FieldDeviceModel, v))
- }
- // DeviceModelGTE applies the GTE predicate on the "device_model" field.
- func DeviceModelGTE(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGTE(FieldDeviceModel, v))
- }
- // DeviceModelLT applies the LT predicate on the "device_model" field.
- func DeviceModelLT(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLT(FieldDeviceModel, v))
- }
- // DeviceModelLTE applies the LTE predicate on the "device_model" field.
- func DeviceModelLTE(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLTE(FieldDeviceModel, v))
- }
- // DeviceModelContains applies the Contains predicate on the "device_model" field.
- func DeviceModelContains(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldContains(FieldDeviceModel, v))
- }
- // DeviceModelHasPrefix applies the HasPrefix predicate on the "device_model" field.
- func DeviceModelHasPrefix(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldHasPrefix(FieldDeviceModel, v))
- }
- // DeviceModelHasSuffix applies the HasSuffix predicate on the "device_model" field.
- func DeviceModelHasSuffix(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldHasSuffix(FieldDeviceModel, v))
- }
- // DeviceModelEqualFold applies the EqualFold predicate on the "device_model" field.
- func DeviceModelEqualFold(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEqualFold(FieldDeviceModel, v))
- }
- // DeviceModelContainsFold applies the ContainsFold predicate on the "device_model" field.
- func DeviceModelContainsFold(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldContainsFold(FieldDeviceModel, v))
- }
- // DeviceManufacturerEQ applies the EQ predicate on the "device_manufacturer" field.
- func DeviceManufacturerEQ(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldDeviceManufacturer, v))
- }
- // DeviceManufacturerNEQ applies the NEQ predicate on the "device_manufacturer" field.
- func DeviceManufacturerNEQ(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNEQ(FieldDeviceManufacturer, v))
- }
- // DeviceManufacturerIn applies the In predicate on the "device_manufacturer" field.
- func DeviceManufacturerIn(vs ...string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldIn(FieldDeviceManufacturer, vs...))
- }
- // DeviceManufacturerNotIn applies the NotIn predicate on the "device_manufacturer" field.
- func DeviceManufacturerNotIn(vs ...string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNotIn(FieldDeviceManufacturer, vs...))
- }
- // DeviceManufacturerGT applies the GT predicate on the "device_manufacturer" field.
- func DeviceManufacturerGT(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGT(FieldDeviceManufacturer, v))
- }
- // DeviceManufacturerGTE applies the GTE predicate on the "device_manufacturer" field.
- func DeviceManufacturerGTE(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGTE(FieldDeviceManufacturer, v))
- }
- // DeviceManufacturerLT applies the LT predicate on the "device_manufacturer" field.
- func DeviceManufacturerLT(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLT(FieldDeviceManufacturer, v))
- }
- // DeviceManufacturerLTE applies the LTE predicate on the "device_manufacturer" field.
- func DeviceManufacturerLTE(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLTE(FieldDeviceManufacturer, v))
- }
- // DeviceManufacturerContains applies the Contains predicate on the "device_manufacturer" field.
- func DeviceManufacturerContains(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldContains(FieldDeviceManufacturer, v))
- }
- // DeviceManufacturerHasPrefix applies the HasPrefix predicate on the "device_manufacturer" field.
- func DeviceManufacturerHasPrefix(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldHasPrefix(FieldDeviceManufacturer, v))
- }
- // DeviceManufacturerHasSuffix applies the HasSuffix predicate on the "device_manufacturer" field.
- func DeviceManufacturerHasSuffix(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldHasSuffix(FieldDeviceManufacturer, v))
- }
- // DeviceManufacturerEqualFold applies the EqualFold predicate on the "device_manufacturer" field.
- func DeviceManufacturerEqualFold(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEqualFold(FieldDeviceManufacturer, v))
- }
- // DeviceManufacturerContainsFold applies the ContainsFold predicate on the "device_manufacturer" field.
- func DeviceManufacturerContainsFold(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldContainsFold(FieldDeviceManufacturer, v))
- }
- // DeviceSystemVersionEQ applies the EQ predicate on the "device_system_version" field.
- func DeviceSystemVersionEQ(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldDeviceSystemVersion, v))
- }
- // DeviceSystemVersionNEQ applies the NEQ predicate on the "device_system_version" field.
- func DeviceSystemVersionNEQ(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNEQ(FieldDeviceSystemVersion, v))
- }
- // DeviceSystemVersionIn applies the In predicate on the "device_system_version" field.
- func DeviceSystemVersionIn(vs ...string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldIn(FieldDeviceSystemVersion, vs...))
- }
- // DeviceSystemVersionNotIn applies the NotIn predicate on the "device_system_version" field.
- func DeviceSystemVersionNotIn(vs ...string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNotIn(FieldDeviceSystemVersion, vs...))
- }
- // DeviceSystemVersionGT applies the GT predicate on the "device_system_version" field.
- func DeviceSystemVersionGT(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGT(FieldDeviceSystemVersion, v))
- }
- // DeviceSystemVersionGTE applies the GTE predicate on the "device_system_version" field.
- func DeviceSystemVersionGTE(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGTE(FieldDeviceSystemVersion, v))
- }
- // DeviceSystemVersionLT applies the LT predicate on the "device_system_version" field.
- func DeviceSystemVersionLT(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLT(FieldDeviceSystemVersion, v))
- }
- // DeviceSystemVersionLTE applies the LTE predicate on the "device_system_version" field.
- func DeviceSystemVersionLTE(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLTE(FieldDeviceSystemVersion, v))
- }
- // DeviceSystemVersionContains applies the Contains predicate on the "device_system_version" field.
- func DeviceSystemVersionContains(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldContains(FieldDeviceSystemVersion, v))
- }
- // DeviceSystemVersionHasPrefix applies the HasPrefix predicate on the "device_system_version" field.
- func DeviceSystemVersionHasPrefix(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldHasPrefix(FieldDeviceSystemVersion, v))
- }
- // DeviceSystemVersionHasSuffix applies the HasSuffix predicate on the "device_system_version" field.
- func DeviceSystemVersionHasSuffix(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldHasSuffix(FieldDeviceSystemVersion, v))
- }
- // DeviceSystemVersionEqualFold applies the EqualFold predicate on the "device_system_version" field.
- func DeviceSystemVersionEqualFold(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEqualFold(FieldDeviceSystemVersion, v))
- }
- // DeviceSystemVersionContainsFold applies the ContainsFold predicate on the "device_system_version" field.
- func DeviceSystemVersionContainsFold(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldContainsFold(FieldDeviceSystemVersion, v))
- }
- // DeviceSystemEQ applies the EQ predicate on the "device_system" field.
- func DeviceSystemEQ(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldDeviceSystem, v))
- }
- // DeviceSystemNEQ applies the NEQ predicate on the "device_system" field.
- func DeviceSystemNEQ(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNEQ(FieldDeviceSystem, v))
- }
- // DeviceSystemIn applies the In predicate on the "device_system" field.
- func DeviceSystemIn(vs ...string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldIn(FieldDeviceSystem, vs...))
- }
- // DeviceSystemNotIn applies the NotIn predicate on the "device_system" field.
- func DeviceSystemNotIn(vs ...string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNotIn(FieldDeviceSystem, vs...))
- }
- // DeviceSystemGT applies the GT predicate on the "device_system" field.
- func DeviceSystemGT(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGT(FieldDeviceSystem, v))
- }
- // DeviceSystemGTE applies the GTE predicate on the "device_system" field.
- func DeviceSystemGTE(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGTE(FieldDeviceSystem, v))
- }
- // DeviceSystemLT applies the LT predicate on the "device_system" field.
- func DeviceSystemLT(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLT(FieldDeviceSystem, v))
- }
- // DeviceSystemLTE applies the LTE predicate on the "device_system" field.
- func DeviceSystemLTE(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLTE(FieldDeviceSystem, v))
- }
- // DeviceSystemContains applies the Contains predicate on the "device_system" field.
- func DeviceSystemContains(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldContains(FieldDeviceSystem, v))
- }
- // DeviceSystemHasPrefix applies the HasPrefix predicate on the "device_system" field.
- func DeviceSystemHasPrefix(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldHasPrefix(FieldDeviceSystem, v))
- }
- // DeviceSystemHasSuffix applies the HasSuffix predicate on the "device_system" field.
- func DeviceSystemHasSuffix(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldHasSuffix(FieldDeviceSystem, v))
- }
- // DeviceSystemEqualFold applies the EqualFold predicate on the "device_system" field.
- func DeviceSystemEqualFold(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEqualFold(FieldDeviceSystem, v))
- }
- // DeviceSystemContainsFold applies the ContainsFold predicate on the "device_system" field.
- func DeviceSystemContainsFold(v string) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldContainsFold(FieldDeviceSystem, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLTE(FieldCreatedAt, v))
- }
- // CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
- func CreatedAtIsNil() predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldIsNull(FieldCreatedAt))
- }
- // CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
- func CreatedAtNotNil() predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNotNull(FieldCreatedAt))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
- func UpdatedAtIsNil() predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldIsNull(FieldUpdatedAt))
- }
- // UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
- func UpdatedAtNotNil() predicate.PushRegistration {
- return predicate.PushRegistration(sql.FieldNotNull(FieldUpdatedAt))
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.PushRegistration) predicate.PushRegistration {
- return predicate.PushRegistration(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.PushRegistration) predicate.PushRegistration {
- return predicate.PushRegistration(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.PushRegistration) predicate.PushRegistration {
- return predicate.PushRegistration(sql.NotPredicates(p))
- }
|