Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProductEvent) predicate.ProductEvent
- func CreateTs(v int64) predicate.ProductEvent
- func CreateTsEQ(v int64) predicate.ProductEvent
- func CreateTsGT(v int64) predicate.ProductEvent
- func CreateTsGTE(v int64) predicate.ProductEvent
- func CreateTsIn(vs ...int64) predicate.ProductEvent
- func CreateTsIsNil() predicate.ProductEvent
- func CreateTsLT(v int64) predicate.ProductEvent
- func CreateTsLTE(v int64) predicate.ProductEvent
- func CreateTsNEQ(v int64) predicate.ProductEvent
- func CreateTsNotIn(vs ...int64) predicate.ProductEvent
- func CreateTsNotNil() predicate.ProductEvent
- func CreatedAt(v time.Time) predicate.ProductEvent
- func CreatedAtEQ(v time.Time) predicate.ProductEvent
- func CreatedAtGT(v time.Time) predicate.ProductEvent
- func CreatedAtGTE(v time.Time) predicate.ProductEvent
- func CreatedAtIn(vs ...time.Time) predicate.ProductEvent
- func CreatedAtLT(v time.Time) predicate.ProductEvent
- func CreatedAtLTE(v time.Time) predicate.ProductEvent
- func CreatedAtNEQ(v time.Time) predicate.ProductEvent
- func CreatedAtNotIn(vs ...time.Time) predicate.ProductEvent
- func Custom(v bool) predicate.ProductEvent
- func CustomEQ(v bool) predicate.ProductEvent
- func CustomNEQ(v bool) predicate.ProductEvent
- func EventName(v string) predicate.ProductEvent
- func EventNameContains(v string) predicate.ProductEvent
- func EventNameContainsFold(v string) predicate.ProductEvent
- func EventNameEQ(v string) predicate.ProductEvent
- func EventNameEqualFold(v string) predicate.ProductEvent
- func EventNameGT(v string) predicate.ProductEvent
- func EventNameGTE(v string) predicate.ProductEvent
- func EventNameHasPrefix(v string) predicate.ProductEvent
- func EventNameHasSuffix(v string) predicate.ProductEvent
- func EventNameIn(vs ...string) predicate.ProductEvent
- func EventNameLT(v string) predicate.ProductEvent
- func EventNameLTE(v string) predicate.ProductEvent
- func EventNameNEQ(v string) predicate.ProductEvent
- func EventNameNotIn(vs ...string) predicate.ProductEvent
- func EventType(v string) predicate.ProductEvent
- func EventTypeContains(v string) predicate.ProductEvent
- func EventTypeContainsFold(v string) predicate.ProductEvent
- func EventTypeEQ(v string) predicate.ProductEvent
- func EventTypeEqualFold(v string) predicate.ProductEvent
- func EventTypeGT(v string) predicate.ProductEvent
- func EventTypeGTE(v string) predicate.ProductEvent
- func EventTypeHasPrefix(v string) predicate.ProductEvent
- func EventTypeHasSuffix(v string) predicate.ProductEvent
- func EventTypeIn(vs ...string) predicate.ProductEvent
- func EventTypeIsNil() predicate.ProductEvent
- func EventTypeLT(v string) predicate.ProductEvent
- func EventTypeLTE(v string) predicate.ProductEvent
- func EventTypeNEQ(v string) predicate.ProductEvent
- func EventTypeNotIn(vs ...string) predicate.ProductEvent
- func EventTypeNotNil() predicate.ProductEvent
- func HasProduct() predicate.ProductEvent
- func HasProductWith(preds ...predicate.Product) predicate.ProductEvent
- func ID(id uint64) predicate.ProductEvent
- func IDEQ(id uint64) predicate.ProductEvent
- func IDGT(id uint64) predicate.ProductEvent
- func IDGTE(id uint64) predicate.ProductEvent
- func IDIn(ids ...uint64) predicate.ProductEvent
- func IDLT(id uint64) predicate.ProductEvent
- func IDLTE(id uint64) predicate.ProductEvent
- func IDNEQ(id uint64) predicate.ProductEvent
- func IDNotIn(ids ...uint64) predicate.ProductEvent
- func Identifier(v string) predicate.ProductEvent
- func IdentifierContains(v string) predicate.ProductEvent
- func IdentifierContainsFold(v string) predicate.ProductEvent
- func IdentifierEQ(v string) predicate.ProductEvent
- func IdentifierEqualFold(v string) predicate.ProductEvent
- func IdentifierGT(v string) predicate.ProductEvent
- func IdentifierGTE(v string) predicate.ProductEvent
- func IdentifierHasPrefix(v string) predicate.ProductEvent
- func IdentifierHasSuffix(v string) predicate.ProductEvent
- func IdentifierIn(vs ...string) predicate.ProductEvent
- func IdentifierLT(v string) predicate.ProductEvent
- func IdentifierLTE(v string) predicate.ProductEvent
- func IdentifierNEQ(v string) predicate.ProductEvent
- func IdentifierNotIn(vs ...string) predicate.ProductEvent
- func Not(p predicate.ProductEvent) predicate.ProductEvent
- func Or(predicates ...predicate.ProductEvent) predicate.ProductEvent
- func OutputData(v string) predicate.ProductEvent
- func OutputDataContains(v string) predicate.ProductEvent
- func OutputDataContainsFold(v string) predicate.ProductEvent
- func OutputDataEQ(v string) predicate.ProductEvent
- func OutputDataEqualFold(v string) predicate.ProductEvent
- func OutputDataGT(v string) predicate.ProductEvent
- func OutputDataGTE(v string) predicate.ProductEvent
- func OutputDataHasPrefix(v string) predicate.ProductEvent
- func OutputDataHasSuffix(v string) predicate.ProductEvent
- func OutputDataIn(vs ...string) predicate.ProductEvent
- func OutputDataIsNil() predicate.ProductEvent
- func OutputDataLT(v string) predicate.ProductEvent
- func OutputDataLTE(v string) predicate.ProductEvent
- func OutputDataNEQ(v string) predicate.ProductEvent
- func OutputDataNotIn(vs ...string) predicate.ProductEvent
- func OutputDataNotNil() predicate.ProductEvent
- func ProductKey(v string) predicate.ProductEvent
- func ProductKeyContains(v string) predicate.ProductEvent
- func ProductKeyContainsFold(v string) predicate.ProductEvent
- func ProductKeyEQ(v string) predicate.ProductEvent
- func ProductKeyEqualFold(v string) predicate.ProductEvent
- func ProductKeyGT(v string) predicate.ProductEvent
- func ProductKeyGTE(v string) predicate.ProductEvent
- func ProductKeyHasPrefix(v string) predicate.ProductEvent
- func ProductKeyHasSuffix(v string) predicate.ProductEvent
- func ProductKeyIn(vs ...string) predicate.ProductEvent
- func ProductKeyLT(v string) predicate.ProductEvent
- func ProductKeyLTE(v string) predicate.ProductEvent
- func ProductKeyNEQ(v string) predicate.ProductEvent
- func ProductKeyNotIn(vs ...string) predicate.ProductEvent
- func Required(v bool) predicate.ProductEvent
- func RequiredEQ(v bool) predicate.ProductEvent
- func RequiredNEQ(v bool) predicate.ProductEvent
- func Sort(v uint32) predicate.ProductEvent
- func SortEQ(v uint32) predicate.ProductEvent
- func SortGT(v uint32) predicate.ProductEvent
- func SortGTE(v uint32) predicate.ProductEvent
- func SortIn(vs ...uint32) predicate.ProductEvent
- func SortLT(v uint32) predicate.ProductEvent
- func SortLTE(v uint32) predicate.ProductEvent
- func SortNEQ(v uint32) predicate.ProductEvent
- func SortNotIn(vs ...uint32) predicate.ProductEvent
- func Status(v uint8) predicate.ProductEvent
- func StatusEQ(v uint8) predicate.ProductEvent
- func StatusGT(v uint8) predicate.ProductEvent
- func StatusGTE(v uint8) predicate.ProductEvent
- func StatusIn(vs ...uint8) predicate.ProductEvent
- func StatusIsNil() predicate.ProductEvent
- func StatusLT(v uint8) predicate.ProductEvent
- func StatusLTE(v uint8) predicate.ProductEvent
- func StatusNEQ(v uint8) predicate.ProductEvent
- func StatusNotIn(vs ...uint8) predicate.ProductEvent
- func StatusNotNil() predicate.ProductEvent
- func UpdatedAt(v time.Time) predicate.ProductEvent
- func UpdatedAtEQ(v time.Time) predicate.ProductEvent
- func UpdatedAtGT(v time.Time) predicate.ProductEvent
- func UpdatedAtGTE(v time.Time) predicate.ProductEvent
- func UpdatedAtIn(vs ...time.Time) predicate.ProductEvent
- func UpdatedAtLT(v time.Time) predicate.ProductEvent
- func UpdatedAtLTE(v time.Time) predicate.ProductEvent
- func UpdatedAtNEQ(v time.Time) predicate.ProductEvent
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProductEvent
- func ValidColumn(column string) bool
- func Version(v string) predicate.ProductEvent
- func VersionContains(v string) predicate.ProductEvent
- func VersionContainsFold(v string) predicate.ProductEvent
- func VersionEQ(v string) predicate.ProductEvent
- func VersionEqualFold(v string) predicate.ProductEvent
- func VersionGT(v string) predicate.ProductEvent
- func VersionGTE(v string) predicate.ProductEvent
- func VersionHasPrefix(v string) predicate.ProductEvent
- func VersionHasSuffix(v string) predicate.ProductEvent
- func VersionIn(vs ...string) predicate.ProductEvent
- func VersionIsNil() predicate.ProductEvent
- func VersionLT(v string) predicate.ProductEvent
- func VersionLTE(v string) predicate.ProductEvent
- func VersionNEQ(v string) predicate.ProductEvent
- func VersionNotIn(vs ...string) predicate.ProductEvent
- func VersionNotNil() predicate.ProductEvent
- type OrderOption
- func ByCreateTs(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCustom(opts ...sql.OrderTermOption) OrderOption
- func ByEventName(opts ...sql.OrderTermOption) OrderOption
- func ByEventType(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIdentifier(opts ...sql.OrderTermOption) OrderOption
- func ByOutputData(opts ...sql.OrderTermOption) OrderOption
- func ByProductField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProductKey(opts ...sql.OrderTermOption) OrderOption
- func ByRequired(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the productevent type in the database. Label = "product_event" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldSort holds the string denoting the sort field in the database. FieldSort = "sort" // FieldProductKey holds the string denoting the productkey field in the database. FieldProductKey = "product_key" // FieldCreateTs holds the string denoting the createts field in the database. FieldCreateTs = "create_ts" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldIdentifier holds the string denoting the identifier field in the database. FieldIdentifier = "identifier" // FieldEventName holds the string denoting the eventname field in the database. FieldEventName = "event_name" // FieldEventType holds the string denoting the eventtype field in the database. FieldEventType = "event_type" // FieldOutputData holds the string denoting the outputdata field in the database. FieldOutputData = "output_data" // FieldCustom holds the string denoting the custom field in the database. FieldCustom = "custom" // FieldRequired holds the string denoting the required field in the database. FieldRequired = "required" // EdgeProduct holds the string denoting the product edge name in mutations. EdgeProduct = "product" // Table holds the table name of the productevent in the database. Table = "equip_product_events" // ProductTable is the table that holds the product relation/edge. ProductTable = "equip_product_events" // ProductInverseTable is the table name for the Product entity. // It exists in this package in order to avoid circular dependency with the "product" package. ProductInverseTable = "equip_products" // ProductColumn is the table column denoting the product relation/edge. ProductColumn = "product_events" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus uint8 // DefaultSort holds the default value on creation for the "sort" field. DefaultSort uint32 // DefaultEventType holds the default value on creation for the "eventType" field. DefaultEventType string // DefaultCustom holds the default value on creation for the "custom" field. DefaultCustom bool // DefaultRequired holds the default value on creation for the "required" field. DefaultRequired bool )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldStatus, FieldSort, FieldProductKey, FieldCreateTs, FieldVersion, FieldIdentifier, FieldEventName, FieldEventType, FieldOutputData, FieldCustom, FieldRequired, }
Columns holds all SQL columns for productevent fields.
var ForeignKeys = []string{
"product_events",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "equip_product_events" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.ProductEvent) predicate.ProductEvent
And groups predicates with the AND operator between them.
func CreateTs ¶
func CreateTs(v int64) predicate.ProductEvent
CreateTs applies equality check predicate on the "createTs" field. It's identical to CreateTsEQ.
func CreateTsEQ ¶
func CreateTsEQ(v int64) predicate.ProductEvent
CreateTsEQ applies the EQ predicate on the "createTs" field.
func CreateTsGT ¶
func CreateTsGT(v int64) predicate.ProductEvent
CreateTsGT applies the GT predicate on the "createTs" field.
func CreateTsGTE ¶
func CreateTsGTE(v int64) predicate.ProductEvent
CreateTsGTE applies the GTE predicate on the "createTs" field.
func CreateTsIn ¶
func CreateTsIn(vs ...int64) predicate.ProductEvent
CreateTsIn applies the In predicate on the "createTs" field.
func CreateTsIsNil ¶
func CreateTsIsNil() predicate.ProductEvent
CreateTsIsNil applies the IsNil predicate on the "createTs" field.
func CreateTsLT ¶
func CreateTsLT(v int64) predicate.ProductEvent
CreateTsLT applies the LT predicate on the "createTs" field.
func CreateTsLTE ¶
func CreateTsLTE(v int64) predicate.ProductEvent
CreateTsLTE applies the LTE predicate on the "createTs" field.
func CreateTsNEQ ¶
func CreateTsNEQ(v int64) predicate.ProductEvent
CreateTsNEQ applies the NEQ predicate on the "createTs" field.
func CreateTsNotIn ¶
func CreateTsNotIn(vs ...int64) predicate.ProductEvent
CreateTsNotIn applies the NotIn predicate on the "createTs" field.
func CreateTsNotNil ¶
func CreateTsNotNil() predicate.ProductEvent
CreateTsNotNil applies the NotNil predicate on the "createTs" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProductEvent
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProductEvent
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProductEvent
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProductEvent
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProductEvent
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProductEvent
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProductEvent
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProductEvent
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProductEvent
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Custom ¶
func Custom(v bool) predicate.ProductEvent
Custom applies equality check predicate on the "custom" field. It's identical to CustomEQ.
func CustomEQ ¶
func CustomEQ(v bool) predicate.ProductEvent
CustomEQ applies the EQ predicate on the "custom" field.
func CustomNEQ ¶
func CustomNEQ(v bool) predicate.ProductEvent
CustomNEQ applies the NEQ predicate on the "custom" field.
func EventName ¶
func EventName(v string) predicate.ProductEvent
EventName applies equality check predicate on the "eventName" field. It's identical to EventNameEQ.
func EventNameContains ¶
func EventNameContains(v string) predicate.ProductEvent
EventNameContains applies the Contains predicate on the "eventName" field.
func EventNameContainsFold ¶
func EventNameContainsFold(v string) predicate.ProductEvent
EventNameContainsFold applies the ContainsFold predicate on the "eventName" field.
func EventNameEQ ¶
func EventNameEQ(v string) predicate.ProductEvent
EventNameEQ applies the EQ predicate on the "eventName" field.
func EventNameEqualFold ¶
func EventNameEqualFold(v string) predicate.ProductEvent
EventNameEqualFold applies the EqualFold predicate on the "eventName" field.
func EventNameGT ¶
func EventNameGT(v string) predicate.ProductEvent
EventNameGT applies the GT predicate on the "eventName" field.
func EventNameGTE ¶
func EventNameGTE(v string) predicate.ProductEvent
EventNameGTE applies the GTE predicate on the "eventName" field.
func EventNameHasPrefix ¶
func EventNameHasPrefix(v string) predicate.ProductEvent
EventNameHasPrefix applies the HasPrefix predicate on the "eventName" field.
func EventNameHasSuffix ¶
func EventNameHasSuffix(v string) predicate.ProductEvent
EventNameHasSuffix applies the HasSuffix predicate on the "eventName" field.
func EventNameIn ¶
func EventNameIn(vs ...string) predicate.ProductEvent
EventNameIn applies the In predicate on the "eventName" field.
func EventNameLT ¶
func EventNameLT(v string) predicate.ProductEvent
EventNameLT applies the LT predicate on the "eventName" field.
func EventNameLTE ¶
func EventNameLTE(v string) predicate.ProductEvent
EventNameLTE applies the LTE predicate on the "eventName" field.
func EventNameNEQ ¶
func EventNameNEQ(v string) predicate.ProductEvent
EventNameNEQ applies the NEQ predicate on the "eventName" field.
func EventNameNotIn ¶
func EventNameNotIn(vs ...string) predicate.ProductEvent
EventNameNotIn applies the NotIn predicate on the "eventName" field.
func EventType ¶
func EventType(v string) predicate.ProductEvent
EventType applies equality check predicate on the "eventType" field. It's identical to EventTypeEQ.
func EventTypeContains ¶
func EventTypeContains(v string) predicate.ProductEvent
EventTypeContains applies the Contains predicate on the "eventType" field.
func EventTypeContainsFold ¶
func EventTypeContainsFold(v string) predicate.ProductEvent
EventTypeContainsFold applies the ContainsFold predicate on the "eventType" field.
func EventTypeEQ ¶
func EventTypeEQ(v string) predicate.ProductEvent
EventTypeEQ applies the EQ predicate on the "eventType" field.
func EventTypeEqualFold ¶
func EventTypeEqualFold(v string) predicate.ProductEvent
EventTypeEqualFold applies the EqualFold predicate on the "eventType" field.
func EventTypeGT ¶
func EventTypeGT(v string) predicate.ProductEvent
EventTypeGT applies the GT predicate on the "eventType" field.
func EventTypeGTE ¶
func EventTypeGTE(v string) predicate.ProductEvent
EventTypeGTE applies the GTE predicate on the "eventType" field.
func EventTypeHasPrefix ¶
func EventTypeHasPrefix(v string) predicate.ProductEvent
EventTypeHasPrefix applies the HasPrefix predicate on the "eventType" field.
func EventTypeHasSuffix ¶
func EventTypeHasSuffix(v string) predicate.ProductEvent
EventTypeHasSuffix applies the HasSuffix predicate on the "eventType" field.
func EventTypeIn ¶
func EventTypeIn(vs ...string) predicate.ProductEvent
EventTypeIn applies the In predicate on the "eventType" field.
func EventTypeIsNil ¶
func EventTypeIsNil() predicate.ProductEvent
EventTypeIsNil applies the IsNil predicate on the "eventType" field.
func EventTypeLT ¶
func EventTypeLT(v string) predicate.ProductEvent
EventTypeLT applies the LT predicate on the "eventType" field.
func EventTypeLTE ¶
func EventTypeLTE(v string) predicate.ProductEvent
EventTypeLTE applies the LTE predicate on the "eventType" field.
func EventTypeNEQ ¶
func EventTypeNEQ(v string) predicate.ProductEvent
EventTypeNEQ applies the NEQ predicate on the "eventType" field.
func EventTypeNotIn ¶
func EventTypeNotIn(vs ...string) predicate.ProductEvent
EventTypeNotIn applies the NotIn predicate on the "eventType" field.
func EventTypeNotNil ¶
func EventTypeNotNil() predicate.ProductEvent
EventTypeNotNil applies the NotNil predicate on the "eventType" field.
func HasProduct ¶
func HasProduct() predicate.ProductEvent
HasProduct applies the HasEdge predicate on the "product" edge.
func HasProductWith ¶
func HasProductWith(preds ...predicate.Product) predicate.ProductEvent
HasProductWith applies the HasEdge predicate on the "product" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uint64) predicate.ProductEvent
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint64) predicate.ProductEvent
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint64) predicate.ProductEvent
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint64) predicate.ProductEvent
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint64) predicate.ProductEvent
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint64) predicate.ProductEvent
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint64) predicate.ProductEvent
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint64) predicate.ProductEvent
IDNotIn applies the NotIn predicate on the ID field.
func Identifier ¶
func Identifier(v string) predicate.ProductEvent
Identifier applies equality check predicate on the "identifier" field. It's identical to IdentifierEQ.
func IdentifierContains ¶
func IdentifierContains(v string) predicate.ProductEvent
IdentifierContains applies the Contains predicate on the "identifier" field.
func IdentifierContainsFold ¶
func IdentifierContainsFold(v string) predicate.ProductEvent
IdentifierContainsFold applies the ContainsFold predicate on the "identifier" field.
func IdentifierEQ ¶
func IdentifierEQ(v string) predicate.ProductEvent
IdentifierEQ applies the EQ predicate on the "identifier" field.
func IdentifierEqualFold ¶
func IdentifierEqualFold(v string) predicate.ProductEvent
IdentifierEqualFold applies the EqualFold predicate on the "identifier" field.
func IdentifierGT ¶
func IdentifierGT(v string) predicate.ProductEvent
IdentifierGT applies the GT predicate on the "identifier" field.
func IdentifierGTE ¶
func IdentifierGTE(v string) predicate.ProductEvent
IdentifierGTE applies the GTE predicate on the "identifier" field.
func IdentifierHasPrefix ¶
func IdentifierHasPrefix(v string) predicate.ProductEvent
IdentifierHasPrefix applies the HasPrefix predicate on the "identifier" field.
func IdentifierHasSuffix ¶
func IdentifierHasSuffix(v string) predicate.ProductEvent
IdentifierHasSuffix applies the HasSuffix predicate on the "identifier" field.
func IdentifierIn ¶
func IdentifierIn(vs ...string) predicate.ProductEvent
IdentifierIn applies the In predicate on the "identifier" field.
func IdentifierLT ¶
func IdentifierLT(v string) predicate.ProductEvent
IdentifierLT applies the LT predicate on the "identifier" field.
func IdentifierLTE ¶
func IdentifierLTE(v string) predicate.ProductEvent
IdentifierLTE applies the LTE predicate on the "identifier" field.
func IdentifierNEQ ¶
func IdentifierNEQ(v string) predicate.ProductEvent
IdentifierNEQ applies the NEQ predicate on the "identifier" field.
func IdentifierNotIn ¶
func IdentifierNotIn(vs ...string) predicate.ProductEvent
IdentifierNotIn applies the NotIn predicate on the "identifier" field.
func Not ¶
func Not(p predicate.ProductEvent) predicate.ProductEvent
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProductEvent) predicate.ProductEvent
Or groups predicates with the OR operator between them.
func OutputData ¶
func OutputData(v string) predicate.ProductEvent
OutputData applies equality check predicate on the "outputData" field. It's identical to OutputDataEQ.
func OutputDataContains ¶
func OutputDataContains(v string) predicate.ProductEvent
OutputDataContains applies the Contains predicate on the "outputData" field.
func OutputDataContainsFold ¶
func OutputDataContainsFold(v string) predicate.ProductEvent
OutputDataContainsFold applies the ContainsFold predicate on the "outputData" field.
func OutputDataEQ ¶
func OutputDataEQ(v string) predicate.ProductEvent
OutputDataEQ applies the EQ predicate on the "outputData" field.
func OutputDataEqualFold ¶
func OutputDataEqualFold(v string) predicate.ProductEvent
OutputDataEqualFold applies the EqualFold predicate on the "outputData" field.
func OutputDataGT ¶
func OutputDataGT(v string) predicate.ProductEvent
OutputDataGT applies the GT predicate on the "outputData" field.
func OutputDataGTE ¶
func OutputDataGTE(v string) predicate.ProductEvent
OutputDataGTE applies the GTE predicate on the "outputData" field.
func OutputDataHasPrefix ¶
func OutputDataHasPrefix(v string) predicate.ProductEvent
OutputDataHasPrefix applies the HasPrefix predicate on the "outputData" field.
func OutputDataHasSuffix ¶
func OutputDataHasSuffix(v string) predicate.ProductEvent
OutputDataHasSuffix applies the HasSuffix predicate on the "outputData" field.
func OutputDataIn ¶
func OutputDataIn(vs ...string) predicate.ProductEvent
OutputDataIn applies the In predicate on the "outputData" field.
func OutputDataIsNil ¶
func OutputDataIsNil() predicate.ProductEvent
OutputDataIsNil applies the IsNil predicate on the "outputData" field.
func OutputDataLT ¶
func OutputDataLT(v string) predicate.ProductEvent
OutputDataLT applies the LT predicate on the "outputData" field.
func OutputDataLTE ¶
func OutputDataLTE(v string) predicate.ProductEvent
OutputDataLTE applies the LTE predicate on the "outputData" field.
func OutputDataNEQ ¶
func OutputDataNEQ(v string) predicate.ProductEvent
OutputDataNEQ applies the NEQ predicate on the "outputData" field.
func OutputDataNotIn ¶
func OutputDataNotIn(vs ...string) predicate.ProductEvent
OutputDataNotIn applies the NotIn predicate on the "outputData" field.
func OutputDataNotNil ¶
func OutputDataNotNil() predicate.ProductEvent
OutputDataNotNil applies the NotNil predicate on the "outputData" field.
func ProductKey ¶
func ProductKey(v string) predicate.ProductEvent
ProductKey applies equality check predicate on the "productKey" field. It's identical to ProductKeyEQ.
func ProductKeyContains ¶
func ProductKeyContains(v string) predicate.ProductEvent
ProductKeyContains applies the Contains predicate on the "productKey" field.
func ProductKeyContainsFold ¶
func ProductKeyContainsFold(v string) predicate.ProductEvent
ProductKeyContainsFold applies the ContainsFold predicate on the "productKey" field.
func ProductKeyEQ ¶
func ProductKeyEQ(v string) predicate.ProductEvent
ProductKeyEQ applies the EQ predicate on the "productKey" field.
func ProductKeyEqualFold ¶
func ProductKeyEqualFold(v string) predicate.ProductEvent
ProductKeyEqualFold applies the EqualFold predicate on the "productKey" field.
func ProductKeyGT ¶
func ProductKeyGT(v string) predicate.ProductEvent
ProductKeyGT applies the GT predicate on the "productKey" field.
func ProductKeyGTE ¶
func ProductKeyGTE(v string) predicate.ProductEvent
ProductKeyGTE applies the GTE predicate on the "productKey" field.
func ProductKeyHasPrefix ¶
func ProductKeyHasPrefix(v string) predicate.ProductEvent
ProductKeyHasPrefix applies the HasPrefix predicate on the "productKey" field.
func ProductKeyHasSuffix ¶
func ProductKeyHasSuffix(v string) predicate.ProductEvent
ProductKeyHasSuffix applies the HasSuffix predicate on the "productKey" field.
func ProductKeyIn ¶
func ProductKeyIn(vs ...string) predicate.ProductEvent
ProductKeyIn applies the In predicate on the "productKey" field.
func ProductKeyLT ¶
func ProductKeyLT(v string) predicate.ProductEvent
ProductKeyLT applies the LT predicate on the "productKey" field.
func ProductKeyLTE ¶
func ProductKeyLTE(v string) predicate.ProductEvent
ProductKeyLTE applies the LTE predicate on the "productKey" field.
func ProductKeyNEQ ¶
func ProductKeyNEQ(v string) predicate.ProductEvent
ProductKeyNEQ applies the NEQ predicate on the "productKey" field.
func ProductKeyNotIn ¶
func ProductKeyNotIn(vs ...string) predicate.ProductEvent
ProductKeyNotIn applies the NotIn predicate on the "productKey" field.
func Required ¶
func Required(v bool) predicate.ProductEvent
Required applies equality check predicate on the "required" field. It's identical to RequiredEQ.
func RequiredEQ ¶
func RequiredEQ(v bool) predicate.ProductEvent
RequiredEQ applies the EQ predicate on the "required" field.
func RequiredNEQ ¶
func RequiredNEQ(v bool) predicate.ProductEvent
RequiredNEQ applies the NEQ predicate on the "required" field.
func Sort ¶
func Sort(v uint32) predicate.ProductEvent
Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.
func SortEQ ¶
func SortEQ(v uint32) predicate.ProductEvent
SortEQ applies the EQ predicate on the "sort" field.
func SortGT ¶
func SortGT(v uint32) predicate.ProductEvent
SortGT applies the GT predicate on the "sort" field.
func SortGTE ¶
func SortGTE(v uint32) predicate.ProductEvent
SortGTE applies the GTE predicate on the "sort" field.
func SortIn ¶
func SortIn(vs ...uint32) predicate.ProductEvent
SortIn applies the In predicate on the "sort" field.
func SortLT ¶
func SortLT(v uint32) predicate.ProductEvent
SortLT applies the LT predicate on the "sort" field.
func SortLTE ¶
func SortLTE(v uint32) predicate.ProductEvent
SortLTE applies the LTE predicate on the "sort" field.
func SortNEQ ¶
func SortNEQ(v uint32) predicate.ProductEvent
SortNEQ applies the NEQ predicate on the "sort" field.
func SortNotIn ¶
func SortNotIn(vs ...uint32) predicate.ProductEvent
SortNotIn applies the NotIn predicate on the "sort" field.
func Status ¶
func Status(v uint8) predicate.ProductEvent
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusEQ ¶
func StatusEQ(v uint8) predicate.ProductEvent
StatusEQ applies the EQ predicate on the "status" field.
func StatusGT ¶
func StatusGT(v uint8) predicate.ProductEvent
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v uint8) predicate.ProductEvent
StatusGTE applies the GTE predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...uint8) predicate.ProductEvent
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶
func StatusIsNil() predicate.ProductEvent
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusLT ¶
func StatusLT(v uint8) predicate.ProductEvent
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v uint8) predicate.ProductEvent
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v uint8) predicate.ProductEvent
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...uint8) predicate.ProductEvent
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
func StatusNotNil() predicate.ProductEvent
StatusNotNil applies the NotNil predicate on the "status" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProductEvent
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProductEvent
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProductEvent
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProductEvent
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProductEvent
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProductEvent
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProductEvent
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProductEvent
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProductEvent
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
func Version(v string) predicate.ProductEvent
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
func VersionContains(v string) predicate.ProductEvent
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
func VersionContainsFold(v string) predicate.ProductEvent
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEQ ¶
func VersionEQ(v string) predicate.ProductEvent
VersionEQ applies the EQ predicate on the "version" field.
func VersionEqualFold ¶
func VersionEqualFold(v string) predicate.ProductEvent
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGT ¶
func VersionGT(v string) predicate.ProductEvent
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v string) predicate.ProductEvent
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
func VersionHasPrefix(v string) predicate.ProductEvent
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
func VersionHasSuffix(v string) predicate.ProductEvent
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...string) predicate.ProductEvent
VersionIn applies the In predicate on the "version" field.
func VersionIsNil ¶
func VersionIsNil() predicate.ProductEvent
VersionIsNil applies the IsNil predicate on the "version" field.
func VersionLT ¶
func VersionLT(v string) predicate.ProductEvent
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v string) predicate.ProductEvent
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v string) predicate.ProductEvent
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...string) predicate.ProductEvent
VersionNotIn applies the NotIn predicate on the "version" field.
func VersionNotNil ¶
func VersionNotNil() predicate.ProductEvent
VersionNotNil applies the NotNil predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ProductEvent queries.
func ByCreateTs ¶
func ByCreateTs(opts ...sql.OrderTermOption) OrderOption
ByCreateTs orders the results by the createTs field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCustom ¶
func ByCustom(opts ...sql.OrderTermOption) OrderOption
ByCustom orders the results by the custom field.
func ByEventName ¶
func ByEventName(opts ...sql.OrderTermOption) OrderOption
ByEventName orders the results by the eventName field.
func ByEventType ¶
func ByEventType(opts ...sql.OrderTermOption) OrderOption
ByEventType orders the results by the eventType field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIdentifier ¶
func ByIdentifier(opts ...sql.OrderTermOption) OrderOption
ByIdentifier orders the results by the identifier field.
func ByOutputData ¶
func ByOutputData(opts ...sql.OrderTermOption) OrderOption
ByOutputData orders the results by the outputData field.
func ByProductField ¶
func ByProductField(field string, opts ...sql.OrderTermOption) OrderOption
ByProductField orders the results by product field.
func ByProductKey ¶
func ByProductKey(opts ...sql.OrderTermOption) OrderOption
ByProductKey orders the results by the productKey field.
func ByRequired ¶
func ByRequired(opts ...sql.OrderTermOption) OrderOption
ByRequired orders the results by the required field.
func BySort ¶
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.