| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729 |
- // Code generated by ent, DO NOT EDIT.
- package channelmonitordailyrollup
- import (
- "time"
- "entgo.io/ent/dialect/sql"
- "entgo.io/ent/dialect/sql/sqlgraph"
- "github.com/Wei-Shaw/sub2api/ent/predicate"
- )
- // ID filters vertices based on their ID field.
- func ID(id int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldID, id))
- }
- // MonitorID applies equality check predicate on the "monitor_id" field. It's identical to MonitorIDEQ.
- func MonitorID(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldMonitorID, v))
- }
- // Model applies equality check predicate on the "model" field. It's identical to ModelEQ.
- func Model(v string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldModel, v))
- }
- // BucketDate applies equality check predicate on the "bucket_date" field. It's identical to BucketDateEQ.
- func BucketDate(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldBucketDate, v))
- }
- // TotalChecks applies equality check predicate on the "total_checks" field. It's identical to TotalChecksEQ.
- func TotalChecks(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldTotalChecks, v))
- }
- // OkCount applies equality check predicate on the "ok_count" field. It's identical to OkCountEQ.
- func OkCount(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldOkCount, v))
- }
- // OperationalCount applies equality check predicate on the "operational_count" field. It's identical to OperationalCountEQ.
- func OperationalCount(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldOperationalCount, v))
- }
- // DegradedCount applies equality check predicate on the "degraded_count" field. It's identical to DegradedCountEQ.
- func DegradedCount(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldDegradedCount, v))
- }
- // FailedCount applies equality check predicate on the "failed_count" field. It's identical to FailedCountEQ.
- func FailedCount(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldFailedCount, v))
- }
- // ErrorCount applies equality check predicate on the "error_count" field. It's identical to ErrorCountEQ.
- func ErrorCount(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldErrorCount, v))
- }
- // SumLatencyMs applies equality check predicate on the "sum_latency_ms" field. It's identical to SumLatencyMsEQ.
- func SumLatencyMs(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldSumLatencyMs, v))
- }
- // CountLatency applies equality check predicate on the "count_latency" field. It's identical to CountLatencyEQ.
- func CountLatency(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldCountLatency, v))
- }
- // SumPingLatencyMs applies equality check predicate on the "sum_ping_latency_ms" field. It's identical to SumPingLatencyMsEQ.
- func SumPingLatencyMs(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldSumPingLatencyMs, v))
- }
- // CountPingLatency applies equality check predicate on the "count_ping_latency" field. It's identical to CountPingLatencyEQ.
- func CountPingLatency(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldCountPingLatency, v))
- }
- // ComputedAt applies equality check predicate on the "computed_at" field. It's identical to ComputedAtEQ.
- func ComputedAt(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldComputedAt, v))
- }
- // MonitorIDEQ applies the EQ predicate on the "monitor_id" field.
- func MonitorIDEQ(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldMonitorID, v))
- }
- // MonitorIDNEQ applies the NEQ predicate on the "monitor_id" field.
- func MonitorIDNEQ(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldMonitorID, v))
- }
- // MonitorIDIn applies the In predicate on the "monitor_id" field.
- func MonitorIDIn(vs ...int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldMonitorID, vs...))
- }
- // MonitorIDNotIn applies the NotIn predicate on the "monitor_id" field.
- func MonitorIDNotIn(vs ...int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldMonitorID, vs...))
- }
- // ModelEQ applies the EQ predicate on the "model" field.
- func ModelEQ(v string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldModel, v))
- }
- // ModelNEQ applies the NEQ predicate on the "model" field.
- func ModelNEQ(v string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldModel, v))
- }
- // ModelIn applies the In predicate on the "model" field.
- func ModelIn(vs ...string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldModel, vs...))
- }
- // ModelNotIn applies the NotIn predicate on the "model" field.
- func ModelNotIn(vs ...string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldModel, vs...))
- }
- // ModelGT applies the GT predicate on the "model" field.
- func ModelGT(v string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldModel, v))
- }
- // ModelGTE applies the GTE predicate on the "model" field.
- func ModelGTE(v string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldModel, v))
- }
- // ModelLT applies the LT predicate on the "model" field.
- func ModelLT(v string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldModel, v))
- }
- // ModelLTE applies the LTE predicate on the "model" field.
- func ModelLTE(v string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldModel, v))
- }
- // ModelContains applies the Contains predicate on the "model" field.
- func ModelContains(v string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldContains(FieldModel, v))
- }
- // ModelHasPrefix applies the HasPrefix predicate on the "model" field.
- func ModelHasPrefix(v string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldHasPrefix(FieldModel, v))
- }
- // ModelHasSuffix applies the HasSuffix predicate on the "model" field.
- func ModelHasSuffix(v string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldHasSuffix(FieldModel, v))
- }
- // ModelEqualFold applies the EqualFold predicate on the "model" field.
- func ModelEqualFold(v string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEqualFold(FieldModel, v))
- }
- // ModelContainsFold applies the ContainsFold predicate on the "model" field.
- func ModelContainsFold(v string) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldContainsFold(FieldModel, v))
- }
- // BucketDateEQ applies the EQ predicate on the "bucket_date" field.
- func BucketDateEQ(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldBucketDate, v))
- }
- // BucketDateNEQ applies the NEQ predicate on the "bucket_date" field.
- func BucketDateNEQ(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldBucketDate, v))
- }
- // BucketDateIn applies the In predicate on the "bucket_date" field.
- func BucketDateIn(vs ...time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldBucketDate, vs...))
- }
- // BucketDateNotIn applies the NotIn predicate on the "bucket_date" field.
- func BucketDateNotIn(vs ...time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldBucketDate, vs...))
- }
- // BucketDateGT applies the GT predicate on the "bucket_date" field.
- func BucketDateGT(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldBucketDate, v))
- }
- // BucketDateGTE applies the GTE predicate on the "bucket_date" field.
- func BucketDateGTE(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldBucketDate, v))
- }
- // BucketDateLT applies the LT predicate on the "bucket_date" field.
- func BucketDateLT(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldBucketDate, v))
- }
- // BucketDateLTE applies the LTE predicate on the "bucket_date" field.
- func BucketDateLTE(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldBucketDate, v))
- }
- // TotalChecksEQ applies the EQ predicate on the "total_checks" field.
- func TotalChecksEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldTotalChecks, v))
- }
- // TotalChecksNEQ applies the NEQ predicate on the "total_checks" field.
- func TotalChecksNEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldTotalChecks, v))
- }
- // TotalChecksIn applies the In predicate on the "total_checks" field.
- func TotalChecksIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldTotalChecks, vs...))
- }
- // TotalChecksNotIn applies the NotIn predicate on the "total_checks" field.
- func TotalChecksNotIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldTotalChecks, vs...))
- }
- // TotalChecksGT applies the GT predicate on the "total_checks" field.
- func TotalChecksGT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldTotalChecks, v))
- }
- // TotalChecksGTE applies the GTE predicate on the "total_checks" field.
- func TotalChecksGTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldTotalChecks, v))
- }
- // TotalChecksLT applies the LT predicate on the "total_checks" field.
- func TotalChecksLT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldTotalChecks, v))
- }
- // TotalChecksLTE applies the LTE predicate on the "total_checks" field.
- func TotalChecksLTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldTotalChecks, v))
- }
- // OkCountEQ applies the EQ predicate on the "ok_count" field.
- func OkCountEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldOkCount, v))
- }
- // OkCountNEQ applies the NEQ predicate on the "ok_count" field.
- func OkCountNEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldOkCount, v))
- }
- // OkCountIn applies the In predicate on the "ok_count" field.
- func OkCountIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldOkCount, vs...))
- }
- // OkCountNotIn applies the NotIn predicate on the "ok_count" field.
- func OkCountNotIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldOkCount, vs...))
- }
- // OkCountGT applies the GT predicate on the "ok_count" field.
- func OkCountGT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldOkCount, v))
- }
- // OkCountGTE applies the GTE predicate on the "ok_count" field.
- func OkCountGTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldOkCount, v))
- }
- // OkCountLT applies the LT predicate on the "ok_count" field.
- func OkCountLT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldOkCount, v))
- }
- // OkCountLTE applies the LTE predicate on the "ok_count" field.
- func OkCountLTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldOkCount, v))
- }
- // OperationalCountEQ applies the EQ predicate on the "operational_count" field.
- func OperationalCountEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldOperationalCount, v))
- }
- // OperationalCountNEQ applies the NEQ predicate on the "operational_count" field.
- func OperationalCountNEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldOperationalCount, v))
- }
- // OperationalCountIn applies the In predicate on the "operational_count" field.
- func OperationalCountIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldOperationalCount, vs...))
- }
- // OperationalCountNotIn applies the NotIn predicate on the "operational_count" field.
- func OperationalCountNotIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldOperationalCount, vs...))
- }
- // OperationalCountGT applies the GT predicate on the "operational_count" field.
- func OperationalCountGT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldOperationalCount, v))
- }
- // OperationalCountGTE applies the GTE predicate on the "operational_count" field.
- func OperationalCountGTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldOperationalCount, v))
- }
- // OperationalCountLT applies the LT predicate on the "operational_count" field.
- func OperationalCountLT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldOperationalCount, v))
- }
- // OperationalCountLTE applies the LTE predicate on the "operational_count" field.
- func OperationalCountLTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldOperationalCount, v))
- }
- // DegradedCountEQ applies the EQ predicate on the "degraded_count" field.
- func DegradedCountEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldDegradedCount, v))
- }
- // DegradedCountNEQ applies the NEQ predicate on the "degraded_count" field.
- func DegradedCountNEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldDegradedCount, v))
- }
- // DegradedCountIn applies the In predicate on the "degraded_count" field.
- func DegradedCountIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldDegradedCount, vs...))
- }
- // DegradedCountNotIn applies the NotIn predicate on the "degraded_count" field.
- func DegradedCountNotIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldDegradedCount, vs...))
- }
- // DegradedCountGT applies the GT predicate on the "degraded_count" field.
- func DegradedCountGT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldDegradedCount, v))
- }
- // DegradedCountGTE applies the GTE predicate on the "degraded_count" field.
- func DegradedCountGTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldDegradedCount, v))
- }
- // DegradedCountLT applies the LT predicate on the "degraded_count" field.
- func DegradedCountLT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldDegradedCount, v))
- }
- // DegradedCountLTE applies the LTE predicate on the "degraded_count" field.
- func DegradedCountLTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldDegradedCount, v))
- }
- // FailedCountEQ applies the EQ predicate on the "failed_count" field.
- func FailedCountEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldFailedCount, v))
- }
- // FailedCountNEQ applies the NEQ predicate on the "failed_count" field.
- func FailedCountNEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldFailedCount, v))
- }
- // FailedCountIn applies the In predicate on the "failed_count" field.
- func FailedCountIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldFailedCount, vs...))
- }
- // FailedCountNotIn applies the NotIn predicate on the "failed_count" field.
- func FailedCountNotIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldFailedCount, vs...))
- }
- // FailedCountGT applies the GT predicate on the "failed_count" field.
- func FailedCountGT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldFailedCount, v))
- }
- // FailedCountGTE applies the GTE predicate on the "failed_count" field.
- func FailedCountGTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldFailedCount, v))
- }
- // FailedCountLT applies the LT predicate on the "failed_count" field.
- func FailedCountLT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldFailedCount, v))
- }
- // FailedCountLTE applies the LTE predicate on the "failed_count" field.
- func FailedCountLTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldFailedCount, v))
- }
- // ErrorCountEQ applies the EQ predicate on the "error_count" field.
- func ErrorCountEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldErrorCount, v))
- }
- // ErrorCountNEQ applies the NEQ predicate on the "error_count" field.
- func ErrorCountNEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldErrorCount, v))
- }
- // ErrorCountIn applies the In predicate on the "error_count" field.
- func ErrorCountIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldErrorCount, vs...))
- }
- // ErrorCountNotIn applies the NotIn predicate on the "error_count" field.
- func ErrorCountNotIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldErrorCount, vs...))
- }
- // ErrorCountGT applies the GT predicate on the "error_count" field.
- func ErrorCountGT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldErrorCount, v))
- }
- // ErrorCountGTE applies the GTE predicate on the "error_count" field.
- func ErrorCountGTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldErrorCount, v))
- }
- // ErrorCountLT applies the LT predicate on the "error_count" field.
- func ErrorCountLT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldErrorCount, v))
- }
- // ErrorCountLTE applies the LTE predicate on the "error_count" field.
- func ErrorCountLTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldErrorCount, v))
- }
- // SumLatencyMsEQ applies the EQ predicate on the "sum_latency_ms" field.
- func SumLatencyMsEQ(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldSumLatencyMs, v))
- }
- // SumLatencyMsNEQ applies the NEQ predicate on the "sum_latency_ms" field.
- func SumLatencyMsNEQ(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldSumLatencyMs, v))
- }
- // SumLatencyMsIn applies the In predicate on the "sum_latency_ms" field.
- func SumLatencyMsIn(vs ...int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldSumLatencyMs, vs...))
- }
- // SumLatencyMsNotIn applies the NotIn predicate on the "sum_latency_ms" field.
- func SumLatencyMsNotIn(vs ...int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldSumLatencyMs, vs...))
- }
- // SumLatencyMsGT applies the GT predicate on the "sum_latency_ms" field.
- func SumLatencyMsGT(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldSumLatencyMs, v))
- }
- // SumLatencyMsGTE applies the GTE predicate on the "sum_latency_ms" field.
- func SumLatencyMsGTE(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldSumLatencyMs, v))
- }
- // SumLatencyMsLT applies the LT predicate on the "sum_latency_ms" field.
- func SumLatencyMsLT(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldSumLatencyMs, v))
- }
- // SumLatencyMsLTE applies the LTE predicate on the "sum_latency_ms" field.
- func SumLatencyMsLTE(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldSumLatencyMs, v))
- }
- // CountLatencyEQ applies the EQ predicate on the "count_latency" field.
- func CountLatencyEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldCountLatency, v))
- }
- // CountLatencyNEQ applies the NEQ predicate on the "count_latency" field.
- func CountLatencyNEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldCountLatency, v))
- }
- // CountLatencyIn applies the In predicate on the "count_latency" field.
- func CountLatencyIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldCountLatency, vs...))
- }
- // CountLatencyNotIn applies the NotIn predicate on the "count_latency" field.
- func CountLatencyNotIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldCountLatency, vs...))
- }
- // CountLatencyGT applies the GT predicate on the "count_latency" field.
- func CountLatencyGT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldCountLatency, v))
- }
- // CountLatencyGTE applies the GTE predicate on the "count_latency" field.
- func CountLatencyGTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldCountLatency, v))
- }
- // CountLatencyLT applies the LT predicate on the "count_latency" field.
- func CountLatencyLT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldCountLatency, v))
- }
- // CountLatencyLTE applies the LTE predicate on the "count_latency" field.
- func CountLatencyLTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldCountLatency, v))
- }
- // SumPingLatencyMsEQ applies the EQ predicate on the "sum_ping_latency_ms" field.
- func SumPingLatencyMsEQ(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldSumPingLatencyMs, v))
- }
- // SumPingLatencyMsNEQ applies the NEQ predicate on the "sum_ping_latency_ms" field.
- func SumPingLatencyMsNEQ(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldSumPingLatencyMs, v))
- }
- // SumPingLatencyMsIn applies the In predicate on the "sum_ping_latency_ms" field.
- func SumPingLatencyMsIn(vs ...int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldSumPingLatencyMs, vs...))
- }
- // SumPingLatencyMsNotIn applies the NotIn predicate on the "sum_ping_latency_ms" field.
- func SumPingLatencyMsNotIn(vs ...int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldSumPingLatencyMs, vs...))
- }
- // SumPingLatencyMsGT applies the GT predicate on the "sum_ping_latency_ms" field.
- func SumPingLatencyMsGT(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldSumPingLatencyMs, v))
- }
- // SumPingLatencyMsGTE applies the GTE predicate on the "sum_ping_latency_ms" field.
- func SumPingLatencyMsGTE(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldSumPingLatencyMs, v))
- }
- // SumPingLatencyMsLT applies the LT predicate on the "sum_ping_latency_ms" field.
- func SumPingLatencyMsLT(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldSumPingLatencyMs, v))
- }
- // SumPingLatencyMsLTE applies the LTE predicate on the "sum_ping_latency_ms" field.
- func SumPingLatencyMsLTE(v int64) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldSumPingLatencyMs, v))
- }
- // CountPingLatencyEQ applies the EQ predicate on the "count_ping_latency" field.
- func CountPingLatencyEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldCountPingLatency, v))
- }
- // CountPingLatencyNEQ applies the NEQ predicate on the "count_ping_latency" field.
- func CountPingLatencyNEQ(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldCountPingLatency, v))
- }
- // CountPingLatencyIn applies the In predicate on the "count_ping_latency" field.
- func CountPingLatencyIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldCountPingLatency, vs...))
- }
- // CountPingLatencyNotIn applies the NotIn predicate on the "count_ping_latency" field.
- func CountPingLatencyNotIn(vs ...int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldCountPingLatency, vs...))
- }
- // CountPingLatencyGT applies the GT predicate on the "count_ping_latency" field.
- func CountPingLatencyGT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldCountPingLatency, v))
- }
- // CountPingLatencyGTE applies the GTE predicate on the "count_ping_latency" field.
- func CountPingLatencyGTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldCountPingLatency, v))
- }
- // CountPingLatencyLT applies the LT predicate on the "count_ping_latency" field.
- func CountPingLatencyLT(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldCountPingLatency, v))
- }
- // CountPingLatencyLTE applies the LTE predicate on the "count_ping_latency" field.
- func CountPingLatencyLTE(v int) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldCountPingLatency, v))
- }
- // ComputedAtEQ applies the EQ predicate on the "computed_at" field.
- func ComputedAtEQ(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldEQ(FieldComputedAt, v))
- }
- // ComputedAtNEQ applies the NEQ predicate on the "computed_at" field.
- func ComputedAtNEQ(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNEQ(FieldComputedAt, v))
- }
- // ComputedAtIn applies the In predicate on the "computed_at" field.
- func ComputedAtIn(vs ...time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldIn(FieldComputedAt, vs...))
- }
- // ComputedAtNotIn applies the NotIn predicate on the "computed_at" field.
- func ComputedAtNotIn(vs ...time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldNotIn(FieldComputedAt, vs...))
- }
- // ComputedAtGT applies the GT predicate on the "computed_at" field.
- func ComputedAtGT(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGT(FieldComputedAt, v))
- }
- // ComputedAtGTE applies the GTE predicate on the "computed_at" field.
- func ComputedAtGTE(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldGTE(FieldComputedAt, v))
- }
- // ComputedAtLT applies the LT predicate on the "computed_at" field.
- func ComputedAtLT(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLT(FieldComputedAt, v))
- }
- // ComputedAtLTE applies the LTE predicate on the "computed_at" field.
- func ComputedAtLTE(v time.Time) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.FieldLTE(FieldComputedAt, v))
- }
- // HasMonitor applies the HasEdge predicate on the "monitor" edge.
- func HasMonitor() predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.M2O, true, MonitorTable, MonitorColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasMonitorWith applies the HasEdge predicate on the "monitor" edge with a given conditions (other predicates).
- func HasMonitorWith(preds ...predicate.ChannelMonitor) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(func(s *sql.Selector) {
- step := newMonitorStep()
- 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.ChannelMonitorDailyRollup) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.ChannelMonitorDailyRollup) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.ChannelMonitorDailyRollup) predicate.ChannelMonitorDailyRollup {
- return predicate.ChannelMonitorDailyRollup(sql.NotPredicates(p))
- }
|