Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EntitlementHistory) predicate.EntitlementHistory
- func Cancelled(v bool) predicate.EntitlementHistory
- func CancelledEQ(v bool) predicate.EntitlementHistory
- func CancelledNEQ(v bool) predicate.EntitlementHistory
- func CreatedAt(v time.Time) predicate.EntitlementHistory
- func CreatedAtEQ(v time.Time) predicate.EntitlementHistory
- func CreatedAtGT(v time.Time) predicate.EntitlementHistory
- func CreatedAtGTE(v time.Time) predicate.EntitlementHistory
- func CreatedAtIn(vs ...time.Time) predicate.EntitlementHistory
- func CreatedAtIsNil() predicate.EntitlementHistory
- func CreatedAtLT(v time.Time) predicate.EntitlementHistory
- func CreatedAtLTE(v time.Time) predicate.EntitlementHistory
- func CreatedAtNEQ(v time.Time) predicate.EntitlementHistory
- func CreatedAtNotIn(vs ...time.Time) predicate.EntitlementHistory
- func CreatedAtNotNil() predicate.EntitlementHistory
- func CreatedBy(v string) predicate.EntitlementHistory
- func CreatedByContains(v string) predicate.EntitlementHistory
- func CreatedByContainsFold(v string) predicate.EntitlementHistory
- func CreatedByEQ(v string) predicate.EntitlementHistory
- func CreatedByEqualFold(v string) predicate.EntitlementHistory
- func CreatedByGT(v string) predicate.EntitlementHistory
- func CreatedByGTE(v string) predicate.EntitlementHistory
- func CreatedByHasPrefix(v string) predicate.EntitlementHistory
- func CreatedByHasSuffix(v string) predicate.EntitlementHistory
- func CreatedByIn(vs ...string) predicate.EntitlementHistory
- func CreatedByIsNil() predicate.EntitlementHistory
- func CreatedByLT(v string) predicate.EntitlementHistory
- func CreatedByLTE(v string) predicate.EntitlementHistory
- func CreatedByNEQ(v string) predicate.EntitlementHistory
- func CreatedByNotIn(vs ...string) predicate.EntitlementHistory
- func CreatedByNotNil() predicate.EntitlementHistory
- func DeletedAt(v time.Time) predicate.EntitlementHistory
- func DeletedAtEQ(v time.Time) predicate.EntitlementHistory
- func DeletedAtGT(v time.Time) predicate.EntitlementHistory
- func DeletedAtGTE(v time.Time) predicate.EntitlementHistory
- func DeletedAtIn(vs ...time.Time) predicate.EntitlementHistory
- func DeletedAtIsNil() predicate.EntitlementHistory
- func DeletedAtLT(v time.Time) predicate.EntitlementHistory
- func DeletedAtLTE(v time.Time) predicate.EntitlementHistory
- func DeletedAtNEQ(v time.Time) predicate.EntitlementHistory
- func DeletedAtNotIn(vs ...time.Time) predicate.EntitlementHistory
- func DeletedAtNotNil() predicate.EntitlementHistory
- func DeletedBy(v string) predicate.EntitlementHistory
- func DeletedByContains(v string) predicate.EntitlementHistory
- func DeletedByContainsFold(v string) predicate.EntitlementHistory
- func DeletedByEQ(v string) predicate.EntitlementHistory
- func DeletedByEqualFold(v string) predicate.EntitlementHistory
- func DeletedByGT(v string) predicate.EntitlementHistory
- func DeletedByGTE(v string) predicate.EntitlementHistory
- func DeletedByHasPrefix(v string) predicate.EntitlementHistory
- func DeletedByHasSuffix(v string) predicate.EntitlementHistory
- func DeletedByIn(vs ...string) predicate.EntitlementHistory
- func DeletedByIsNil() predicate.EntitlementHistory
- func DeletedByLT(v string) predicate.EntitlementHistory
- func DeletedByLTE(v string) predicate.EntitlementHistory
- func DeletedByNEQ(v string) predicate.EntitlementHistory
- func DeletedByNotIn(vs ...string) predicate.EntitlementHistory
- func DeletedByNotNil() predicate.EntitlementHistory
- func Expires(v bool) predicate.EntitlementHistory
- func ExpiresAt(v time.Time) predicate.EntitlementHistory
- func ExpiresAtEQ(v time.Time) predicate.EntitlementHistory
- func ExpiresAtGT(v time.Time) predicate.EntitlementHistory
- func ExpiresAtGTE(v time.Time) predicate.EntitlementHistory
- func ExpiresAtIn(vs ...time.Time) predicate.EntitlementHistory
- func ExpiresAtIsNil() predicate.EntitlementHistory
- func ExpiresAtLT(v time.Time) predicate.EntitlementHistory
- func ExpiresAtLTE(v time.Time) predicate.EntitlementHistory
- func ExpiresAtNEQ(v time.Time) predicate.EntitlementHistory
- func ExpiresAtNotIn(vs ...time.Time) predicate.EntitlementHistory
- func ExpiresAtNotNil() predicate.EntitlementHistory
- func ExpiresEQ(v bool) predicate.EntitlementHistory
- func ExpiresNEQ(v bool) predicate.EntitlementHistory
- func ExternalCustomerID(v string) predicate.EntitlementHistory
- func ExternalCustomerIDContains(v string) predicate.EntitlementHistory
- func ExternalCustomerIDContainsFold(v string) predicate.EntitlementHistory
- func ExternalCustomerIDEQ(v string) predicate.EntitlementHistory
- func ExternalCustomerIDEqualFold(v string) predicate.EntitlementHistory
- func ExternalCustomerIDGT(v string) predicate.EntitlementHistory
- func ExternalCustomerIDGTE(v string) predicate.EntitlementHistory
- func ExternalCustomerIDHasPrefix(v string) predicate.EntitlementHistory
- func ExternalCustomerIDHasSuffix(v string) predicate.EntitlementHistory
- func ExternalCustomerIDIn(vs ...string) predicate.EntitlementHistory
- func ExternalCustomerIDIsNil() predicate.EntitlementHistory
- func ExternalCustomerIDLT(v string) predicate.EntitlementHistory
- func ExternalCustomerIDLTE(v string) predicate.EntitlementHistory
- func ExternalCustomerIDNEQ(v string) predicate.EntitlementHistory
- func ExternalCustomerIDNotIn(vs ...string) predicate.EntitlementHistory
- func ExternalCustomerIDNotNil() predicate.EntitlementHistory
- func ExternalSubscriptionID(v string) predicate.EntitlementHistory
- func ExternalSubscriptionIDContains(v string) predicate.EntitlementHistory
- func ExternalSubscriptionIDContainsFold(v string) predicate.EntitlementHistory
- func ExternalSubscriptionIDEQ(v string) predicate.EntitlementHistory
- func ExternalSubscriptionIDEqualFold(v string) predicate.EntitlementHistory
- func ExternalSubscriptionIDGT(v string) predicate.EntitlementHistory
- func ExternalSubscriptionIDGTE(v string) predicate.EntitlementHistory
- func ExternalSubscriptionIDHasPrefix(v string) predicate.EntitlementHistory
- func ExternalSubscriptionIDHasSuffix(v string) predicate.EntitlementHistory
- func ExternalSubscriptionIDIn(vs ...string) predicate.EntitlementHistory
- func ExternalSubscriptionIDIsNil() predicate.EntitlementHistory
- func ExternalSubscriptionIDLT(v string) predicate.EntitlementHistory
- func ExternalSubscriptionIDLTE(v string) predicate.EntitlementHistory
- func ExternalSubscriptionIDNEQ(v string) predicate.EntitlementHistory
- func ExternalSubscriptionIDNotIn(vs ...string) predicate.EntitlementHistory
- func ExternalSubscriptionIDNotNil() predicate.EntitlementHistory
- func HistoryTime(v time.Time) predicate.EntitlementHistory
- func HistoryTimeEQ(v time.Time) predicate.EntitlementHistory
- func HistoryTimeGT(v time.Time) predicate.EntitlementHistory
- func HistoryTimeGTE(v time.Time) predicate.EntitlementHistory
- func HistoryTimeIn(vs ...time.Time) predicate.EntitlementHistory
- func HistoryTimeLT(v time.Time) predicate.EntitlementHistory
- func HistoryTimeLTE(v time.Time) predicate.EntitlementHistory
- func HistoryTimeNEQ(v time.Time) predicate.EntitlementHistory
- func HistoryTimeNotIn(vs ...time.Time) predicate.EntitlementHistory
- func ID(id string) predicate.EntitlementHistory
- func IDContainsFold(id string) predicate.EntitlementHistory
- func IDEQ(id string) predicate.EntitlementHistory
- func IDEqualFold(id string) predicate.EntitlementHistory
- func IDGT(id string) predicate.EntitlementHistory
- func IDGTE(id string) predicate.EntitlementHistory
- func IDIn(ids ...string) predicate.EntitlementHistory
- func IDLT(id string) predicate.EntitlementHistory
- func IDLTE(id string) predicate.EntitlementHistory
- func IDNEQ(id string) predicate.EntitlementHistory
- func IDNotIn(ids ...string) predicate.EntitlementHistory
- func MappingID(v string) predicate.EntitlementHistory
- func MappingIDContains(v string) predicate.EntitlementHistory
- func MappingIDContainsFold(v string) predicate.EntitlementHistory
- func MappingIDEQ(v string) predicate.EntitlementHistory
- func MappingIDEqualFold(v string) predicate.EntitlementHistory
- func MappingIDGT(v string) predicate.EntitlementHistory
- func MappingIDGTE(v string) predicate.EntitlementHistory
- func MappingIDHasPrefix(v string) predicate.EntitlementHistory
- func MappingIDHasSuffix(v string) predicate.EntitlementHistory
- func MappingIDIn(vs ...string) predicate.EntitlementHistory
- func MappingIDLT(v string) predicate.EntitlementHistory
- func MappingIDLTE(v string) predicate.EntitlementHistory
- func MappingIDNEQ(v string) predicate.EntitlementHistory
- func MappingIDNotIn(vs ...string) predicate.EntitlementHistory
- func Not(p predicate.EntitlementHistory) predicate.EntitlementHistory
- func OperationEQ(v enthistory.OpType) predicate.EntitlementHistory
- func OperationIn(vs ...enthistory.OpType) predicate.EntitlementHistory
- func OperationNEQ(v enthistory.OpType) predicate.EntitlementHistory
- func OperationNotIn(vs ...enthistory.OpType) predicate.EntitlementHistory
- func OperationValidator(o enthistory.OpType) error
- func Or(predicates ...predicate.EntitlementHistory) predicate.EntitlementHistory
- func OwnerID(v string) predicate.EntitlementHistory
- func OwnerIDContains(v string) predicate.EntitlementHistory
- func OwnerIDContainsFold(v string) predicate.EntitlementHistory
- func OwnerIDEQ(v string) predicate.EntitlementHistory
- func OwnerIDEqualFold(v string) predicate.EntitlementHistory
- func OwnerIDGT(v string) predicate.EntitlementHistory
- func OwnerIDGTE(v string) predicate.EntitlementHistory
- func OwnerIDHasPrefix(v string) predicate.EntitlementHistory
- func OwnerIDHasSuffix(v string) predicate.EntitlementHistory
- func OwnerIDIn(vs ...string) predicate.EntitlementHistory
- func OwnerIDLT(v string) predicate.EntitlementHistory
- func OwnerIDLTE(v string) predicate.EntitlementHistory
- func OwnerIDNEQ(v string) predicate.EntitlementHistory
- func OwnerIDNotIn(vs ...string) predicate.EntitlementHistory
- func Ref(v string) predicate.EntitlementHistory
- func RefContains(v string) predicate.EntitlementHistory
- func RefContainsFold(v string) predicate.EntitlementHistory
- func RefEQ(v string) predicate.EntitlementHistory
- func RefEqualFold(v string) predicate.EntitlementHistory
- func RefGT(v string) predicate.EntitlementHistory
- func RefGTE(v string) predicate.EntitlementHistory
- func RefHasPrefix(v string) predicate.EntitlementHistory
- func RefHasSuffix(v string) predicate.EntitlementHistory
- func RefIn(vs ...string) predicate.EntitlementHistory
- func RefIsNil() predicate.EntitlementHistory
- func RefLT(v string) predicate.EntitlementHistory
- func RefLTE(v string) predicate.EntitlementHistory
- func RefNEQ(v string) predicate.EntitlementHistory
- func RefNotIn(vs ...string) predicate.EntitlementHistory
- func RefNotNil() predicate.EntitlementHistory
- func TierEQ(v enums.Tier) predicate.EntitlementHistory
- func TierIn(vs ...enums.Tier) predicate.EntitlementHistory
- func TierNEQ(v enums.Tier) predicate.EntitlementHistory
- func TierNotIn(vs ...enums.Tier) predicate.EntitlementHistory
- func TierValidator(t enums.Tier) error
- func UpdatedAt(v time.Time) predicate.EntitlementHistory
- func UpdatedAtEQ(v time.Time) predicate.EntitlementHistory
- func UpdatedAtGT(v time.Time) predicate.EntitlementHistory
- func UpdatedAtGTE(v time.Time) predicate.EntitlementHistory
- func UpdatedAtIn(vs ...time.Time) predicate.EntitlementHistory
- func UpdatedAtIsNil() predicate.EntitlementHistory
- func UpdatedAtLT(v time.Time) predicate.EntitlementHistory
- func UpdatedAtLTE(v time.Time) predicate.EntitlementHistory
- func UpdatedAtNEQ(v time.Time) predicate.EntitlementHistory
- func UpdatedAtNotIn(vs ...time.Time) predicate.EntitlementHistory
- func UpdatedAtNotNil() predicate.EntitlementHistory
- func UpdatedBy(v string) predicate.EntitlementHistory
- func UpdatedByContains(v string) predicate.EntitlementHistory
- func UpdatedByContainsFold(v string) predicate.EntitlementHistory
- func UpdatedByEQ(v string) predicate.EntitlementHistory
- func UpdatedByEqualFold(v string) predicate.EntitlementHistory
- func UpdatedByGT(v string) predicate.EntitlementHistory
- func UpdatedByGTE(v string) predicate.EntitlementHistory
- func UpdatedByHasPrefix(v string) predicate.EntitlementHistory
- func UpdatedByHasSuffix(v string) predicate.EntitlementHistory
- func UpdatedByIn(vs ...string) predicate.EntitlementHistory
- func UpdatedByIsNil() predicate.EntitlementHistory
- func UpdatedByLT(v string) predicate.EntitlementHistory
- func UpdatedByLTE(v string) predicate.EntitlementHistory
- func UpdatedByNEQ(v string) predicate.EntitlementHistory
- func UpdatedByNotIn(vs ...string) predicate.EntitlementHistory
- func UpdatedByNotNil() predicate.EntitlementHistory
- func ValidColumn(column string) bool
- type OrderOption
- func ByCancelled(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByExpires(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByExternalCustomerID(opts ...sql.OrderTermOption) OrderOption
- func ByExternalSubscriptionID(opts ...sql.OrderTermOption) OrderOption
- func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByRef(opts ...sql.OrderTermOption) OrderOption
- func ByTier(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the entitlementhistory type in the database. Label = "entitlement_history" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHistoryTime holds the string denoting the history_time field in the database. FieldHistoryTime = "history_time" // FieldOperation holds the string denoting the operation field in the database. FieldOperation = "operation" // FieldRef holds the string denoting the ref field in the database. FieldRef = "ref" // 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" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldTier holds the string denoting the tier field in the database. FieldTier = "tier" // FieldExternalCustomerID holds the string denoting the external_customer_id field in the database. FieldExternalCustomerID = "external_customer_id" // FieldExternalSubscriptionID holds the string denoting the external_subscription_id field in the database. FieldExternalSubscriptionID = "external_subscription_id" // FieldExpires holds the string denoting the expires field in the database. FieldExpires = "expires" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldCancelled holds the string denoting the cancelled field in the database. FieldCancelled = "cancelled" // Table holds the table name of the entitlementhistory in the database. Table = "entitlement_history" )
const DefaultTier enums.Tier = "FREE"
Variables ¶
var ( // DefaultHistoryTime holds the default value on creation for the "history_time" field. DefaultHistoryTime func() time.Time // 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 // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // DefaultExpires holds the default value on creation for the "expires" field. DefaultExpires bool // DefaultCancelled holds the default value on creation for the "cancelled" field. DefaultCancelled bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldHistoryTime, FieldOperation, FieldRef, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldMappingID, FieldDeletedAt, FieldDeletedBy, FieldOwnerID, FieldTier, FieldExternalCustomerID, FieldExternalSubscriptionID, FieldExpires, FieldExpiresAt, FieldCancelled, }
Columns holds all SQL columns for entitlementhistory fields.
Functions ¶
func And ¶
func And(predicates ...predicate.EntitlementHistory) predicate.EntitlementHistory
And groups predicates with the AND operator between them.
func Cancelled ¶
func Cancelled(v bool) predicate.EntitlementHistory
Cancelled applies equality check predicate on the "cancelled" field. It's identical to CancelledEQ.
func CancelledEQ ¶
func CancelledEQ(v bool) predicate.EntitlementHistory
CancelledEQ applies the EQ predicate on the "cancelled" field.
func CancelledNEQ ¶
func CancelledNEQ(v bool) predicate.EntitlementHistory
CancelledNEQ applies the NEQ predicate on the "cancelled" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.EntitlementHistory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.EntitlementHistory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.EntitlementHistory
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.EntitlementHistory
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.EntitlementHistory
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.EntitlementHistory
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.EntitlementHistory
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.EntitlementHistory
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.EntitlementHistory
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.EntitlementHistory
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.EntitlementHistory
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.EntitlementHistory
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.EntitlementHistory
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.EntitlementHistory
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.EntitlementHistory
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.EntitlementHistory
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.EntitlementHistory
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.EntitlementHistory
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.EntitlementHistory
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.EntitlementHistory
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.EntitlementHistory
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.EntitlementHistory
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.EntitlementHistory
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.EntitlementHistory
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.EntitlementHistory
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.EntitlementHistory
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.EntitlementHistory
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.EntitlementHistory
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.EntitlementHistory
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.EntitlementHistory
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.EntitlementHistory
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.EntitlementHistory
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.EntitlementHistory
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.EntitlementHistory
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.EntitlementHistory
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.EntitlementHistory
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.EntitlementHistory
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.EntitlementHistory
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.EntitlementHistory
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.EntitlementHistory
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.EntitlementHistory
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.EntitlementHistory
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.EntitlementHistory
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.EntitlementHistory
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.EntitlementHistory
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.EntitlementHistory
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.EntitlementHistory
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.EntitlementHistory
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.EntitlementHistory
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.EntitlementHistory
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.EntitlementHistory
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.EntitlementHistory
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.EntitlementHistory
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.EntitlementHistory
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Expires ¶
func Expires(v bool) predicate.EntitlementHistory
Expires applies equality check predicate on the "expires" field. It's identical to ExpiresEQ.
func ExpiresAt ¶
func ExpiresAt(v time.Time) predicate.EntitlementHistory
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v time.Time) predicate.EntitlementHistory
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v time.Time) predicate.EntitlementHistory
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v time.Time) predicate.EntitlementHistory
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...time.Time) predicate.EntitlementHistory
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtIsNil ¶
func ExpiresAtIsNil() predicate.EntitlementHistory
ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v time.Time) predicate.EntitlementHistory
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v time.Time) predicate.EntitlementHistory
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v time.Time) predicate.EntitlementHistory
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...time.Time) predicate.EntitlementHistory
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ExpiresAtNotNil ¶
func ExpiresAtNotNil() predicate.EntitlementHistory
ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.
func ExpiresEQ ¶
func ExpiresEQ(v bool) predicate.EntitlementHistory
ExpiresEQ applies the EQ predicate on the "expires" field.
func ExpiresNEQ ¶
func ExpiresNEQ(v bool) predicate.EntitlementHistory
ExpiresNEQ applies the NEQ predicate on the "expires" field.
func ExternalCustomerID ¶
func ExternalCustomerID(v string) predicate.EntitlementHistory
ExternalCustomerID applies equality check predicate on the "external_customer_id" field. It's identical to ExternalCustomerIDEQ.
func ExternalCustomerIDContains ¶
func ExternalCustomerIDContains(v string) predicate.EntitlementHistory
ExternalCustomerIDContains applies the Contains predicate on the "external_customer_id" field.
func ExternalCustomerIDContainsFold ¶
func ExternalCustomerIDContainsFold(v string) predicate.EntitlementHistory
ExternalCustomerIDContainsFold applies the ContainsFold predicate on the "external_customer_id" field.
func ExternalCustomerIDEQ ¶
func ExternalCustomerIDEQ(v string) predicate.EntitlementHistory
ExternalCustomerIDEQ applies the EQ predicate on the "external_customer_id" field.
func ExternalCustomerIDEqualFold ¶
func ExternalCustomerIDEqualFold(v string) predicate.EntitlementHistory
ExternalCustomerIDEqualFold applies the EqualFold predicate on the "external_customer_id" field.
func ExternalCustomerIDGT ¶
func ExternalCustomerIDGT(v string) predicate.EntitlementHistory
ExternalCustomerIDGT applies the GT predicate on the "external_customer_id" field.
func ExternalCustomerIDGTE ¶
func ExternalCustomerIDGTE(v string) predicate.EntitlementHistory
ExternalCustomerIDGTE applies the GTE predicate on the "external_customer_id" field.
func ExternalCustomerIDHasPrefix ¶
func ExternalCustomerIDHasPrefix(v string) predicate.EntitlementHistory
ExternalCustomerIDHasPrefix applies the HasPrefix predicate on the "external_customer_id" field.
func ExternalCustomerIDHasSuffix ¶
func ExternalCustomerIDHasSuffix(v string) predicate.EntitlementHistory
ExternalCustomerIDHasSuffix applies the HasSuffix predicate on the "external_customer_id" field.
func ExternalCustomerIDIn ¶
func ExternalCustomerIDIn(vs ...string) predicate.EntitlementHistory
ExternalCustomerIDIn applies the In predicate on the "external_customer_id" field.
func ExternalCustomerIDIsNil ¶
func ExternalCustomerIDIsNil() predicate.EntitlementHistory
ExternalCustomerIDIsNil applies the IsNil predicate on the "external_customer_id" field.
func ExternalCustomerIDLT ¶
func ExternalCustomerIDLT(v string) predicate.EntitlementHistory
ExternalCustomerIDLT applies the LT predicate on the "external_customer_id" field.
func ExternalCustomerIDLTE ¶
func ExternalCustomerIDLTE(v string) predicate.EntitlementHistory
ExternalCustomerIDLTE applies the LTE predicate on the "external_customer_id" field.
func ExternalCustomerIDNEQ ¶
func ExternalCustomerIDNEQ(v string) predicate.EntitlementHistory
ExternalCustomerIDNEQ applies the NEQ predicate on the "external_customer_id" field.
func ExternalCustomerIDNotIn ¶
func ExternalCustomerIDNotIn(vs ...string) predicate.EntitlementHistory
ExternalCustomerIDNotIn applies the NotIn predicate on the "external_customer_id" field.
func ExternalCustomerIDNotNil ¶
func ExternalCustomerIDNotNil() predicate.EntitlementHistory
ExternalCustomerIDNotNil applies the NotNil predicate on the "external_customer_id" field.
func ExternalSubscriptionID ¶
func ExternalSubscriptionID(v string) predicate.EntitlementHistory
ExternalSubscriptionID applies equality check predicate on the "external_subscription_id" field. It's identical to ExternalSubscriptionIDEQ.
func ExternalSubscriptionIDContains ¶
func ExternalSubscriptionIDContains(v string) predicate.EntitlementHistory
ExternalSubscriptionIDContains applies the Contains predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDContainsFold ¶
func ExternalSubscriptionIDContainsFold(v string) predicate.EntitlementHistory
ExternalSubscriptionIDContainsFold applies the ContainsFold predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDEQ ¶
func ExternalSubscriptionIDEQ(v string) predicate.EntitlementHistory
ExternalSubscriptionIDEQ applies the EQ predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDEqualFold ¶
func ExternalSubscriptionIDEqualFold(v string) predicate.EntitlementHistory
ExternalSubscriptionIDEqualFold applies the EqualFold predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDGT ¶
func ExternalSubscriptionIDGT(v string) predicate.EntitlementHistory
ExternalSubscriptionIDGT applies the GT predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDGTE ¶
func ExternalSubscriptionIDGTE(v string) predicate.EntitlementHistory
ExternalSubscriptionIDGTE applies the GTE predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDHasPrefix ¶
func ExternalSubscriptionIDHasPrefix(v string) predicate.EntitlementHistory
ExternalSubscriptionIDHasPrefix applies the HasPrefix predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDHasSuffix ¶
func ExternalSubscriptionIDHasSuffix(v string) predicate.EntitlementHistory
ExternalSubscriptionIDHasSuffix applies the HasSuffix predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDIn ¶
func ExternalSubscriptionIDIn(vs ...string) predicate.EntitlementHistory
ExternalSubscriptionIDIn applies the In predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDIsNil ¶
func ExternalSubscriptionIDIsNil() predicate.EntitlementHistory
ExternalSubscriptionIDIsNil applies the IsNil predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDLT ¶
func ExternalSubscriptionIDLT(v string) predicate.EntitlementHistory
ExternalSubscriptionIDLT applies the LT predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDLTE ¶
func ExternalSubscriptionIDLTE(v string) predicate.EntitlementHistory
ExternalSubscriptionIDLTE applies the LTE predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDNEQ ¶
func ExternalSubscriptionIDNEQ(v string) predicate.EntitlementHistory
ExternalSubscriptionIDNEQ applies the NEQ predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDNotIn ¶
func ExternalSubscriptionIDNotIn(vs ...string) predicate.EntitlementHistory
ExternalSubscriptionIDNotIn applies the NotIn predicate on the "external_subscription_id" field.
func ExternalSubscriptionIDNotNil ¶
func ExternalSubscriptionIDNotNil() predicate.EntitlementHistory
ExternalSubscriptionIDNotNil applies the NotNil predicate on the "external_subscription_id" field.
func HistoryTime ¶
func HistoryTime(v time.Time) predicate.EntitlementHistory
HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.
func HistoryTimeEQ ¶
func HistoryTimeEQ(v time.Time) predicate.EntitlementHistory
HistoryTimeEQ applies the EQ predicate on the "history_time" field.
func HistoryTimeGT ¶
func HistoryTimeGT(v time.Time) predicate.EntitlementHistory
HistoryTimeGT applies the GT predicate on the "history_time" field.
func HistoryTimeGTE ¶
func HistoryTimeGTE(v time.Time) predicate.EntitlementHistory
HistoryTimeGTE applies the GTE predicate on the "history_time" field.
func HistoryTimeIn ¶
func HistoryTimeIn(vs ...time.Time) predicate.EntitlementHistory
HistoryTimeIn applies the In predicate on the "history_time" field.
func HistoryTimeLT ¶
func HistoryTimeLT(v time.Time) predicate.EntitlementHistory
HistoryTimeLT applies the LT predicate on the "history_time" field.
func HistoryTimeLTE ¶
func HistoryTimeLTE(v time.Time) predicate.EntitlementHistory
HistoryTimeLTE applies the LTE predicate on the "history_time" field.
func HistoryTimeNEQ ¶
func HistoryTimeNEQ(v time.Time) predicate.EntitlementHistory
HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.
func HistoryTimeNotIn ¶
func HistoryTimeNotIn(vs ...time.Time) predicate.EntitlementHistory
HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.
func ID ¶
func ID(id string) predicate.EntitlementHistory
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.EntitlementHistory
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.EntitlementHistory
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.EntitlementHistory
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.EntitlementHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.EntitlementHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.EntitlementHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.EntitlementHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.EntitlementHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.EntitlementHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.EntitlementHistory
IDNotIn applies the NotIn predicate on the ID field.
func MappingID ¶ added in v0.5.0
func MappingID(v string) predicate.EntitlementHistory
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶ added in v0.5.0
func MappingIDContains(v string) predicate.EntitlementHistory
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶ added in v0.5.0
func MappingIDContainsFold(v string) predicate.EntitlementHistory
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶ added in v0.5.0
func MappingIDEQ(v string) predicate.EntitlementHistory
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶ added in v0.5.0
func MappingIDEqualFold(v string) predicate.EntitlementHistory
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶ added in v0.5.0
func MappingIDGT(v string) predicate.EntitlementHistory
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶ added in v0.5.0
func MappingIDGTE(v string) predicate.EntitlementHistory
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶ added in v0.5.0
func MappingIDHasPrefix(v string) predicate.EntitlementHistory
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶ added in v0.5.0
func MappingIDHasSuffix(v string) predicate.EntitlementHistory
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶ added in v0.5.0
func MappingIDIn(vs ...string) predicate.EntitlementHistory
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶ added in v0.5.0
func MappingIDLT(v string) predicate.EntitlementHistory
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶ added in v0.5.0
func MappingIDLTE(v string) predicate.EntitlementHistory
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶ added in v0.5.0
func MappingIDNEQ(v string) predicate.EntitlementHistory
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶ added in v0.5.0
func MappingIDNotIn(vs ...string) predicate.EntitlementHistory
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Not ¶
func Not(p predicate.EntitlementHistory) predicate.EntitlementHistory
Not applies the not operator on the given predicate.
func OperationEQ ¶
func OperationEQ(v enthistory.OpType) predicate.EntitlementHistory
OperationEQ applies the EQ predicate on the "operation" field.
func OperationIn ¶
func OperationIn(vs ...enthistory.OpType) predicate.EntitlementHistory
OperationIn applies the In predicate on the "operation" field.
func OperationNEQ ¶
func OperationNEQ(v enthistory.OpType) predicate.EntitlementHistory
OperationNEQ applies the NEQ predicate on the "operation" field.
func OperationNotIn ¶
func OperationNotIn(vs ...enthistory.OpType) predicate.EntitlementHistory
OperationNotIn applies the NotIn predicate on the "operation" field.
func OperationValidator ¶
func OperationValidator(o enthistory.OpType) error
OperationValidator is a validator for the "operation" field enum values. It is called by the builders before save.
func Or ¶
func Or(predicates ...predicate.EntitlementHistory) predicate.EntitlementHistory
Or groups predicates with the OR operator between them.
func OwnerID ¶
func OwnerID(v string) predicate.EntitlementHistory
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
func OwnerIDContains(v string) predicate.EntitlementHistory
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
func OwnerIDContainsFold(v string) predicate.EntitlementHistory
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEQ ¶
func OwnerIDEQ(v string) predicate.EntitlementHistory
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
func OwnerIDEqualFold(v string) predicate.EntitlementHistory
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGT ¶
func OwnerIDGT(v string) predicate.EntitlementHistory
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶
func OwnerIDGTE(v string) predicate.EntitlementHistory
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
func OwnerIDHasPrefix(v string) predicate.EntitlementHistory
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
func OwnerIDHasSuffix(v string) predicate.EntitlementHistory
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIn ¶
func OwnerIDIn(vs ...string) predicate.EntitlementHistory
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDLT ¶
func OwnerIDLT(v string) predicate.EntitlementHistory
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶
func OwnerIDLTE(v string) predicate.EntitlementHistory
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
func OwnerIDNEQ(v string) predicate.EntitlementHistory
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
func OwnerIDNotIn(vs ...string) predicate.EntitlementHistory
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func Ref ¶
func Ref(v string) predicate.EntitlementHistory
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefContains ¶
func RefContains(v string) predicate.EntitlementHistory
RefContains applies the Contains predicate on the "ref" field.
func RefContainsFold ¶
func RefContainsFold(v string) predicate.EntitlementHistory
RefContainsFold applies the ContainsFold predicate on the "ref" field.
func RefEQ ¶
func RefEQ(v string) predicate.EntitlementHistory
RefEQ applies the EQ predicate on the "ref" field.
func RefEqualFold ¶
func RefEqualFold(v string) predicate.EntitlementHistory
RefEqualFold applies the EqualFold predicate on the "ref" field.
func RefGT ¶
func RefGT(v string) predicate.EntitlementHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v string) predicate.EntitlementHistory
RefGTE applies the GTE predicate on the "ref" field.
func RefHasPrefix ¶
func RefHasPrefix(v string) predicate.EntitlementHistory
RefHasPrefix applies the HasPrefix predicate on the "ref" field.
func RefHasSuffix ¶
func RefHasSuffix(v string) predicate.EntitlementHistory
RefHasSuffix applies the HasSuffix predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...string) predicate.EntitlementHistory
RefIn applies the In predicate on the "ref" field.
func RefIsNil ¶
func RefIsNil() predicate.EntitlementHistory
RefIsNil applies the IsNil predicate on the "ref" field.
func RefLT ¶
func RefLT(v string) predicate.EntitlementHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v string) predicate.EntitlementHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v string) predicate.EntitlementHistory
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...string) predicate.EntitlementHistory
RefNotIn applies the NotIn predicate on the "ref" field.
func RefNotNil ¶
func RefNotNil() predicate.EntitlementHistory
RefNotNil applies the NotNil predicate on the "ref" field.
func TierEQ ¶
func TierEQ(v enums.Tier) predicate.EntitlementHistory
TierEQ applies the EQ predicate on the "tier" field.
func TierIn ¶
func TierIn(vs ...enums.Tier) predicate.EntitlementHistory
TierIn applies the In predicate on the "tier" field.
func TierNEQ ¶
func TierNEQ(v enums.Tier) predicate.EntitlementHistory
TierNEQ applies the NEQ predicate on the "tier" field.
func TierNotIn ¶
func TierNotIn(vs ...enums.Tier) predicate.EntitlementHistory
TierNotIn applies the NotIn predicate on the "tier" field.
func TierValidator ¶
TierValidator is a validator for the "tier" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.EntitlementHistory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.EntitlementHistory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.EntitlementHistory
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.EntitlementHistory
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.EntitlementHistory
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.EntitlementHistory
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.EntitlementHistory
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.EntitlementHistory
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.EntitlementHistory
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.EntitlementHistory
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.EntitlementHistory
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.EntitlementHistory
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.EntitlementHistory
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.EntitlementHistory
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.EntitlementHistory
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.EntitlementHistory
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.EntitlementHistory
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.EntitlementHistory
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.EntitlementHistory
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.EntitlementHistory
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.EntitlementHistory
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.EntitlementHistory
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.EntitlementHistory
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.EntitlementHistory
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.EntitlementHistory
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.EntitlementHistory
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.EntitlementHistory
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the EntitlementHistory queries.
func ByCancelled ¶
func ByCancelled(opts ...sql.OrderTermOption) OrderOption
ByCancelled orders the results by the cancelled field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByExpires ¶
func ByExpires(opts ...sql.OrderTermOption) OrderOption
ByExpires orders the results by the expires field.
func ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByExternalCustomerID ¶
func ByExternalCustomerID(opts ...sql.OrderTermOption) OrderOption
ByExternalCustomerID orders the results by the external_customer_id field.
func ByExternalSubscriptionID ¶
func ByExternalSubscriptionID(opts ...sql.OrderTermOption) OrderOption
ByExternalSubscriptionID orders the results by the external_subscription_id field.
func ByHistoryTime ¶
func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
ByHistoryTime orders the results by the history_time field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMappingID ¶ added in v0.5.0
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByOperation ¶
func ByOperation(opts ...sql.OrderTermOption) OrderOption
ByOperation orders the results by the operation field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByRef ¶
func ByRef(opts ...sql.OrderTermOption) OrderOption
ByRef orders the results by the ref field.
func ByTier ¶
func ByTier(opts ...sql.OrderTermOption) OrderOption
ByTier orders the results by the tier field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.