代码拉取完成,页面将自动刷新
// Code generated by ent, DO NOT EDIT.
package productevent
import (
"time"
"entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph"
"gitee.com/yuLingNet/simple-iot-basic-rpc/ent/predicate"
)
// ID filters vertices based on their ID field.
func ID(id uint64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldID, id))
}
// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id uint64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldID, id))
}
// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id uint64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldID, id))
}
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...uint64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIn(FieldID, ids...))
}
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...uint64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotIn(FieldID, ids...))
}
// IDGT applies the GT predicate on the ID field.
func IDGT(id uint64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGT(FieldID, id))
}
// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id uint64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGTE(FieldID, id))
}
// IDLT applies the LT predicate on the ID field.
func IDLT(id uint64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLT(FieldID, id))
}
// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id uint64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLTE(FieldID, id))
}
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAt(v time.Time) predicate.ProductEvent {
return predicate.ProductEvent(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.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldUpdatedAt, v))
}
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func Status(v uint8) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldStatus, v))
}
// Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.
func Sort(v uint32) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldSort, v))
}
// ProductKey applies equality check predicate on the "productKey" field. It's identical to ProductKeyEQ.
func ProductKey(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldProductKey, v))
}
// CreateTs applies equality check predicate on the "createTs" field. It's identical to CreateTsEQ.
func CreateTs(v int64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldCreateTs, v))
}
// Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func Version(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldVersion, v))
}
// Identifier applies equality check predicate on the "identifier" field. It's identical to IdentifierEQ.
func Identifier(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldIdentifier, v))
}
// EventName applies equality check predicate on the "eventName" field. It's identical to EventNameEQ.
func EventName(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldEventName, v))
}
// EventType applies equality check predicate on the "eventType" field. It's identical to EventTypeEQ.
func EventType(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldEventType, v))
}
// OutputData applies equality check predicate on the "outputData" field. It's identical to OutputDataEQ.
func OutputData(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldOutputData, v))
}
// Custom applies equality check predicate on the "custom" field. It's identical to CustomEQ.
func Custom(v bool) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldCustom, v))
}
// Required applies equality check predicate on the "required" field. It's identical to RequiredEQ.
func Required(v bool) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldRequired, v))
}
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldCreatedAt, v))
}
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldCreatedAt, v))
}
// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIn(FieldCreatedAt, vs...))
}
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotIn(FieldCreatedAt, vs...))
}
// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGT(FieldCreatedAt, v))
}
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGTE(FieldCreatedAt, v))
}
// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLT(FieldCreatedAt, v))
}
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLTE(FieldCreatedAt, v))
}
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldUpdatedAt, v))
}
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldUpdatedAt, v))
}
// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIn(FieldUpdatedAt, vs...))
}
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotIn(FieldUpdatedAt, vs...))
}
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGT(FieldUpdatedAt, v))
}
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGTE(FieldUpdatedAt, v))
}
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLT(FieldUpdatedAt, v))
}
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v time.Time) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLTE(FieldUpdatedAt, v))
}
// StatusEQ applies the EQ predicate on the "status" field.
func StatusEQ(v uint8) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldStatus, v))
}
// StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNEQ(v uint8) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldStatus, v))
}
// StatusIn applies the In predicate on the "status" field.
func StatusIn(vs ...uint8) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIn(FieldStatus, vs...))
}
// StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotIn(vs ...uint8) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotIn(FieldStatus, vs...))
}
// StatusGT applies the GT predicate on the "status" field.
func StatusGT(v uint8) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGT(FieldStatus, v))
}
// StatusGTE applies the GTE predicate on the "status" field.
func StatusGTE(v uint8) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGTE(FieldStatus, v))
}
// StatusLT applies the LT predicate on the "status" field.
func StatusLT(v uint8) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLT(FieldStatus, v))
}
// StatusLTE applies the LTE predicate on the "status" field.
func StatusLTE(v uint8) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLTE(FieldStatus, v))
}
// StatusIsNil applies the IsNil predicate on the "status" field.
func StatusIsNil() predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIsNull(FieldStatus))
}
// StatusNotNil applies the NotNil predicate on the "status" field.
func StatusNotNil() predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotNull(FieldStatus))
}
// SortEQ applies the EQ predicate on the "sort" field.
func SortEQ(v uint32) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldSort, v))
}
// SortNEQ applies the NEQ predicate on the "sort" field.
func SortNEQ(v uint32) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldSort, v))
}
// SortIn applies the In predicate on the "sort" field.
func SortIn(vs ...uint32) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIn(FieldSort, vs...))
}
// SortNotIn applies the NotIn predicate on the "sort" field.
func SortNotIn(vs ...uint32) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotIn(FieldSort, vs...))
}
// SortGT applies the GT predicate on the "sort" field.
func SortGT(v uint32) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGT(FieldSort, v))
}
// SortGTE applies the GTE predicate on the "sort" field.
func SortGTE(v uint32) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGTE(FieldSort, v))
}
// SortLT applies the LT predicate on the "sort" field.
func SortLT(v uint32) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLT(FieldSort, v))
}
// SortLTE applies the LTE predicate on the "sort" field.
func SortLTE(v uint32) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLTE(FieldSort, v))
}
// ProductKeyEQ applies the EQ predicate on the "productKey" field.
func ProductKeyEQ(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldProductKey, v))
}
// ProductKeyNEQ applies the NEQ predicate on the "productKey" field.
func ProductKeyNEQ(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldProductKey, v))
}
// ProductKeyIn applies the In predicate on the "productKey" field.
func ProductKeyIn(vs ...string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIn(FieldProductKey, vs...))
}
// ProductKeyNotIn applies the NotIn predicate on the "productKey" field.
func ProductKeyNotIn(vs ...string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotIn(FieldProductKey, vs...))
}
// ProductKeyGT applies the GT predicate on the "productKey" field.
func ProductKeyGT(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGT(FieldProductKey, v))
}
// ProductKeyGTE applies the GTE predicate on the "productKey" field.
func ProductKeyGTE(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGTE(FieldProductKey, v))
}
// ProductKeyLT applies the LT predicate on the "productKey" field.
func ProductKeyLT(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLT(FieldProductKey, v))
}
// ProductKeyLTE applies the LTE predicate on the "productKey" field.
func ProductKeyLTE(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLTE(FieldProductKey, v))
}
// ProductKeyContains applies the Contains predicate on the "productKey" field.
func ProductKeyContains(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldContains(FieldProductKey, v))
}
// ProductKeyHasPrefix applies the HasPrefix predicate on the "productKey" field.
func ProductKeyHasPrefix(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldHasPrefix(FieldProductKey, v))
}
// ProductKeyHasSuffix applies the HasSuffix predicate on the "productKey" field.
func ProductKeyHasSuffix(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldHasSuffix(FieldProductKey, v))
}
// ProductKeyEqualFold applies the EqualFold predicate on the "productKey" field.
func ProductKeyEqualFold(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEqualFold(FieldProductKey, v))
}
// ProductKeyContainsFold applies the ContainsFold predicate on the "productKey" field.
func ProductKeyContainsFold(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldContainsFold(FieldProductKey, v))
}
// CreateTsEQ applies the EQ predicate on the "createTs" field.
func CreateTsEQ(v int64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldCreateTs, v))
}
// CreateTsNEQ applies the NEQ predicate on the "createTs" field.
func CreateTsNEQ(v int64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldCreateTs, v))
}
// CreateTsIn applies the In predicate on the "createTs" field.
func CreateTsIn(vs ...int64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIn(FieldCreateTs, vs...))
}
// CreateTsNotIn applies the NotIn predicate on the "createTs" field.
func CreateTsNotIn(vs ...int64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotIn(FieldCreateTs, vs...))
}
// CreateTsGT applies the GT predicate on the "createTs" field.
func CreateTsGT(v int64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGT(FieldCreateTs, v))
}
// CreateTsGTE applies the GTE predicate on the "createTs" field.
func CreateTsGTE(v int64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGTE(FieldCreateTs, v))
}
// CreateTsLT applies the LT predicate on the "createTs" field.
func CreateTsLT(v int64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLT(FieldCreateTs, v))
}
// CreateTsLTE applies the LTE predicate on the "createTs" field.
func CreateTsLTE(v int64) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLTE(FieldCreateTs, v))
}
// CreateTsIsNil applies the IsNil predicate on the "createTs" field.
func CreateTsIsNil() predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIsNull(FieldCreateTs))
}
// CreateTsNotNil applies the NotNil predicate on the "createTs" field.
func CreateTsNotNil() predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotNull(FieldCreateTs))
}
// VersionEQ applies the EQ predicate on the "version" field.
func VersionEQ(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldVersion, v))
}
// VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNEQ(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldVersion, v))
}
// VersionIn applies the In predicate on the "version" field.
func VersionIn(vs ...string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIn(FieldVersion, vs...))
}
// VersionNotIn applies the NotIn predicate on the "version" field.
func VersionNotIn(vs ...string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotIn(FieldVersion, vs...))
}
// VersionGT applies the GT predicate on the "version" field.
func VersionGT(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGT(FieldVersion, v))
}
// VersionGTE applies the GTE predicate on the "version" field.
func VersionGTE(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGTE(FieldVersion, v))
}
// VersionLT applies the LT predicate on the "version" field.
func VersionLT(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLT(FieldVersion, v))
}
// VersionLTE applies the LTE predicate on the "version" field.
func VersionLTE(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLTE(FieldVersion, v))
}
// VersionContains applies the Contains predicate on the "version" field.
func VersionContains(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldContains(FieldVersion, v))
}
// VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasPrefix(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldHasPrefix(FieldVersion, v))
}
// VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionHasSuffix(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldHasSuffix(FieldVersion, v))
}
// VersionIsNil applies the IsNil predicate on the "version" field.
func VersionIsNil() predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIsNull(FieldVersion))
}
// VersionNotNil applies the NotNil predicate on the "version" field.
func VersionNotNil() predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotNull(FieldVersion))
}
// VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionEqualFold(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEqualFold(FieldVersion, v))
}
// VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionContainsFold(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldContainsFold(FieldVersion, v))
}
// IdentifierEQ applies the EQ predicate on the "identifier" field.
func IdentifierEQ(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldIdentifier, v))
}
// IdentifierNEQ applies the NEQ predicate on the "identifier" field.
func IdentifierNEQ(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldIdentifier, v))
}
// IdentifierIn applies the In predicate on the "identifier" field.
func IdentifierIn(vs ...string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIn(FieldIdentifier, vs...))
}
// IdentifierNotIn applies the NotIn predicate on the "identifier" field.
func IdentifierNotIn(vs ...string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotIn(FieldIdentifier, vs...))
}
// IdentifierGT applies the GT predicate on the "identifier" field.
func IdentifierGT(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGT(FieldIdentifier, v))
}
// IdentifierGTE applies the GTE predicate on the "identifier" field.
func IdentifierGTE(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGTE(FieldIdentifier, v))
}
// IdentifierLT applies the LT predicate on the "identifier" field.
func IdentifierLT(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLT(FieldIdentifier, v))
}
// IdentifierLTE applies the LTE predicate on the "identifier" field.
func IdentifierLTE(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLTE(FieldIdentifier, v))
}
// IdentifierContains applies the Contains predicate on the "identifier" field.
func IdentifierContains(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldContains(FieldIdentifier, v))
}
// IdentifierHasPrefix applies the HasPrefix predicate on the "identifier" field.
func IdentifierHasPrefix(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldHasPrefix(FieldIdentifier, v))
}
// IdentifierHasSuffix applies the HasSuffix predicate on the "identifier" field.
func IdentifierHasSuffix(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldHasSuffix(FieldIdentifier, v))
}
// IdentifierEqualFold applies the EqualFold predicate on the "identifier" field.
func IdentifierEqualFold(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEqualFold(FieldIdentifier, v))
}
// IdentifierContainsFold applies the ContainsFold predicate on the "identifier" field.
func IdentifierContainsFold(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldContainsFold(FieldIdentifier, v))
}
// EventNameEQ applies the EQ predicate on the "eventName" field.
func EventNameEQ(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldEventName, v))
}
// EventNameNEQ applies the NEQ predicate on the "eventName" field.
func EventNameNEQ(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldEventName, v))
}
// EventNameIn applies the In predicate on the "eventName" field.
func EventNameIn(vs ...string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIn(FieldEventName, vs...))
}
// EventNameNotIn applies the NotIn predicate on the "eventName" field.
func EventNameNotIn(vs ...string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotIn(FieldEventName, vs...))
}
// EventNameGT applies the GT predicate on the "eventName" field.
func EventNameGT(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGT(FieldEventName, v))
}
// EventNameGTE applies the GTE predicate on the "eventName" field.
func EventNameGTE(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGTE(FieldEventName, v))
}
// EventNameLT applies the LT predicate on the "eventName" field.
func EventNameLT(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLT(FieldEventName, v))
}
// EventNameLTE applies the LTE predicate on the "eventName" field.
func EventNameLTE(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLTE(FieldEventName, v))
}
// EventNameContains applies the Contains predicate on the "eventName" field.
func EventNameContains(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldContains(FieldEventName, v))
}
// EventNameHasPrefix applies the HasPrefix predicate on the "eventName" field.
func EventNameHasPrefix(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldHasPrefix(FieldEventName, v))
}
// EventNameHasSuffix applies the HasSuffix predicate on the "eventName" field.
func EventNameHasSuffix(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldHasSuffix(FieldEventName, v))
}
// EventNameEqualFold applies the EqualFold predicate on the "eventName" field.
func EventNameEqualFold(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEqualFold(FieldEventName, v))
}
// EventNameContainsFold applies the ContainsFold predicate on the "eventName" field.
func EventNameContainsFold(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldContainsFold(FieldEventName, v))
}
// EventTypeEQ applies the EQ predicate on the "eventType" field.
func EventTypeEQ(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldEventType, v))
}
// EventTypeNEQ applies the NEQ predicate on the "eventType" field.
func EventTypeNEQ(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldEventType, v))
}
// EventTypeIn applies the In predicate on the "eventType" field.
func EventTypeIn(vs ...string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIn(FieldEventType, vs...))
}
// EventTypeNotIn applies the NotIn predicate on the "eventType" field.
func EventTypeNotIn(vs ...string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotIn(FieldEventType, vs...))
}
// EventTypeGT applies the GT predicate on the "eventType" field.
func EventTypeGT(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGT(FieldEventType, v))
}
// EventTypeGTE applies the GTE predicate on the "eventType" field.
func EventTypeGTE(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGTE(FieldEventType, v))
}
// EventTypeLT applies the LT predicate on the "eventType" field.
func EventTypeLT(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLT(FieldEventType, v))
}
// EventTypeLTE applies the LTE predicate on the "eventType" field.
func EventTypeLTE(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLTE(FieldEventType, v))
}
// EventTypeContains applies the Contains predicate on the "eventType" field.
func EventTypeContains(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldContains(FieldEventType, v))
}
// EventTypeHasPrefix applies the HasPrefix predicate on the "eventType" field.
func EventTypeHasPrefix(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldHasPrefix(FieldEventType, v))
}
// EventTypeHasSuffix applies the HasSuffix predicate on the "eventType" field.
func EventTypeHasSuffix(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldHasSuffix(FieldEventType, v))
}
// EventTypeIsNil applies the IsNil predicate on the "eventType" field.
func EventTypeIsNil() predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIsNull(FieldEventType))
}
// EventTypeNotNil applies the NotNil predicate on the "eventType" field.
func EventTypeNotNil() predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotNull(FieldEventType))
}
// EventTypeEqualFold applies the EqualFold predicate on the "eventType" field.
func EventTypeEqualFold(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEqualFold(FieldEventType, v))
}
// EventTypeContainsFold applies the ContainsFold predicate on the "eventType" field.
func EventTypeContainsFold(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldContainsFold(FieldEventType, v))
}
// OutputDataEQ applies the EQ predicate on the "outputData" field.
func OutputDataEQ(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldOutputData, v))
}
// OutputDataNEQ applies the NEQ predicate on the "outputData" field.
func OutputDataNEQ(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldOutputData, v))
}
// OutputDataIn applies the In predicate on the "outputData" field.
func OutputDataIn(vs ...string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIn(FieldOutputData, vs...))
}
// OutputDataNotIn applies the NotIn predicate on the "outputData" field.
func OutputDataNotIn(vs ...string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotIn(FieldOutputData, vs...))
}
// OutputDataGT applies the GT predicate on the "outputData" field.
func OutputDataGT(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGT(FieldOutputData, v))
}
// OutputDataGTE applies the GTE predicate on the "outputData" field.
func OutputDataGTE(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldGTE(FieldOutputData, v))
}
// OutputDataLT applies the LT predicate on the "outputData" field.
func OutputDataLT(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLT(FieldOutputData, v))
}
// OutputDataLTE applies the LTE predicate on the "outputData" field.
func OutputDataLTE(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldLTE(FieldOutputData, v))
}
// OutputDataContains applies the Contains predicate on the "outputData" field.
func OutputDataContains(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldContains(FieldOutputData, v))
}
// OutputDataHasPrefix applies the HasPrefix predicate on the "outputData" field.
func OutputDataHasPrefix(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldHasPrefix(FieldOutputData, v))
}
// OutputDataHasSuffix applies the HasSuffix predicate on the "outputData" field.
func OutputDataHasSuffix(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldHasSuffix(FieldOutputData, v))
}
// OutputDataIsNil applies the IsNil predicate on the "outputData" field.
func OutputDataIsNil() predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldIsNull(FieldOutputData))
}
// OutputDataNotNil applies the NotNil predicate on the "outputData" field.
func OutputDataNotNil() predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNotNull(FieldOutputData))
}
// OutputDataEqualFold applies the EqualFold predicate on the "outputData" field.
func OutputDataEqualFold(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEqualFold(FieldOutputData, v))
}
// OutputDataContainsFold applies the ContainsFold predicate on the "outputData" field.
func OutputDataContainsFold(v string) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldContainsFold(FieldOutputData, v))
}
// CustomEQ applies the EQ predicate on the "custom" field.
func CustomEQ(v bool) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldCustom, v))
}
// CustomNEQ applies the NEQ predicate on the "custom" field.
func CustomNEQ(v bool) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldCustom, v))
}
// RequiredEQ applies the EQ predicate on the "required" field.
func RequiredEQ(v bool) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldEQ(FieldRequired, v))
}
// RequiredNEQ applies the NEQ predicate on the "required" field.
func RequiredNEQ(v bool) predicate.ProductEvent {
return predicate.ProductEvent(sql.FieldNEQ(FieldRequired, v))
}
// HasProduct applies the HasEdge predicate on the "product" edge.
func HasProduct() predicate.ProductEvent {
return predicate.ProductEvent(func(s *sql.Selector) {
step := sqlgraph.NewStep(
sqlgraph.From(Table, FieldID),
sqlgraph.Edge(sqlgraph.M2O, true, ProductTable, ProductColumn),
)
sqlgraph.HasNeighbors(s, step)
})
}
// HasProductWith applies the HasEdge predicate on the "product" edge with a given conditions (other predicates).
func HasProductWith(preds ...predicate.Product) predicate.ProductEvent {
return predicate.ProductEvent(func(s *sql.Selector) {
step := newProductStep()
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.ProductEvent) predicate.ProductEvent {
return predicate.ProductEvent(sql.AndPredicates(predicates...))
}
// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.ProductEvent) predicate.ProductEvent {
return predicate.ProductEvent(sql.OrPredicates(predicates...))
}
// Not applies the not operator on the given predicate.
func Not(p predicate.ProductEvent) predicate.ProductEvent {
return predicate.ProductEvent(sql.NotPredicates(p))
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。